Was M2 produced and edited by a male art director and writer of M0
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed M0 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.gender ns:m.05zppz .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}