question: Were M4 , M5 , and M6 written by and directed by a costume designer of M0 , M1 , M2 , and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M1 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M2 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M3 .
  M4 ns:film.film.directed_by ?x0 .
  M4 ns:film.film.written_by ?x0 .
  M5 ns:film.film.directed_by ?x0 .
  M5 ns:film.film.written_by ?x0 .
  M6 ns:film.film.directed_by ?x0 .
  M6 ns:film.film.written_by ?x0
  }