question: Was M1 a costume designer , producer , and writer of a film 's sequel
query: SELECT count(*) WHERE {
  ?x0 ns:film.film.prequel ?x1 .
  ?x1 a ns:film.film .
  M1 ns:film.film_costumer_designer.costume_design_for_film ?x0 .
  M1 ns:film.producer.film|ns:film.production_company.films ?x0 .
  M1 ns:film.writer.film ?x0
  }