Was a actor a cinematographer that M2 was executive produced by and written by
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.writer.film M2
}