Was M2 executive produced by a cinematographer , edited by a writer of a film , and edited by M3 and M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.edited_by M4 .
M2 ns:film.film.executive_produced_by ?x0
}