Was M2 written by a cinematographer , executive produced by M0 's editor , and written by M3 , M4 , and M5
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x1 a ns:film.cinematographer .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by ?x1 .
M2 ns:film.film.written_by M3 .
M2 ns:film.film.written_by M4 .
M2 ns:film.film.written_by M5
}