question: Was a film whose art director directed M2 , M3 , and M4 edited by and written by a costume designer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.film_art_direction_by ?x2 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 a ns:film.film_costumer_designer .
  ?x2 ns:film.director.film M2 .
  ?x2 ns:film.director.film M3 .
  ?x2 ns:film.director.film M4
  }