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