Did a male cinematographer , star , and editor of M3 write M1 and M2 and edit M0
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.cinematographer.film M3 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.gender ns:m.05zppz
}