Were M2 and M5 edited by a female child of M1 and directed by M3 and M4
SELECT count(*) WHERE {
?x0 ns:people.person.gender ns:m.02zsn .
?x0 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 M3 .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.edited_by ?x0 .
M5 ns:film.film.directed_by M3 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.edited_by ?x0
}