Was M1 's sequel produced by a cinematographer , written by M0 , and executive produced by M2 's executive producer
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.prequel M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.producer.films_executive_produced M2 .
?x2 a ns:film.cinematographer
}