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