Was M2 edited by M1 's prequel 's male writer and directed by M3
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.film.sequel M1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.edited_by ?x0
}