Were M1 and M2 directed by a star and costume designer of M0 's prequel
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by ?x0
}