Did a cinematographer and writer of M0 executive produce a film and executive produce M1
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.film
}