Did a cinematographer executive produce M5 , write M1 and M2 , write M3 , and write M4
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced M5 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4
}