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