Was M2 produced by a film producer 's child and directed by M1 's director , costume designer , and writer
SELECT count(*) WHERE {
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
?x1 a ns:film.producer .
?x2 ns:film.director.film M1 .
?x2 ns:film.film_costumer_designer.costume_design_for_film M1 .
?x2 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x2 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}