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