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