Was M1 's sequel written by M0 and directed by M2 's costume designer
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.prequel M1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M2
}