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