Was a director of M0 and M1 M2 's sequel 's costume designer
SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.director.film M1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x1 ns:film.film.prequel M2
}