Were M3 and M4 written by a editor of M0 and M1 and produced by a film producer 's child
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
?x2 a ns:film.producer .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M4 ns:film.film.written_by ?x0
}