Was M2 directed by M1 's child and edited by a writer of M0
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0
}