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