Were M2 , M4 , and M5 produced by a film producer 's child , written by M3 , and edited by a person
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 a ns:people.person .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by M3 .
M4 ns:film.film.edited_by ?x2 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.written_by M3 .
M5 ns:film.film.edited_by ?x2 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.written_by M3
}