Was a film written by a cinematographer and executive producer of M2 and M3 and directed by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:film.producer.films_executive_produced M2 .
?x1 ns:film.producer.films_executive_produced M3
}