question: Were M2 and M6 directed by a costume designer , written by M3 , M4 , and M5 , and edited by a screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x1 a ns:film.film_costumer_designer .
  M2 ns:film.film.directed_by ?x1 .
  M2 ns:film.film.edited_by ?x0 .
  M2 ns:film.film.written_by M3 .
  M2 ns:film.film.written_by M4 .
  M2 ns:film.film.written_by M5 .
  M6 ns:film.film.directed_by ?x1 .
  M6 ns:film.film.edited_by ?x0 .
  M6 ns:film.film.written_by M3 .
  M6 ns:film.film.written_by M4 .
  M6 ns:film.film.written_by M5
  }