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