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