Was M3 written by M4 , written by M0 's cinematographer , and written by a male editor of M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 ns:film.editor.film M2 .
?x1 ns:people.person.gender ns:m.05zppz .
M3 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M3 ns:film.film.written_by M4
}