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