Was M2 executive produced by M3 , M4 , M5 , and M6 , directed by a screenwriter , and edited by M0 's cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 a ns:film.writer .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.executive_produced_by M4 .
M2 ns:film.film.executive_produced_by M5 .
M2 ns:film.film.executive_produced_by M6
}