Did M1 star a cinematographer of M0 's prequel and star M2
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.starring/ns:film.performance.actor ?x0 .
M1 ns:film.film.starring/ns:film.performance.actor M2
}