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