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