Did M1 's cinematographer produce M0 and executive produce a prequel of M2 's prequel
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.film.sequel ?x2 .
?x2 ns:film.film.sequel M2
}