Did M1 and M3 star M2 and star a costume designer of a sequel of M0
SELECT count(*) WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_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 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor M2
}