Was M2 written by a male art director of a sequel of M1 and edited by M3 and M4
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.film.prequel M1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.written_by ?x0
}