question: Did M0 's director , writer , and costume designer play M1 and play M2 and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M1 .
  ?x0 ns:film.actor.film/ns:film.performance.character M2 .
  ?x0 ns:film.actor.film/ns:film.performance.character M3 .
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
  ?x0 ns:film.writer.film M0
  }