Were M2 and M5 edited by M3 , edited by M1 's female director , and directed by M4
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
M2 ns:film.film.directed_by M4 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.edited_by M3 .
M5 ns:film.film.directed_by M4 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.edited_by M3
}