question: Did M2 and M3 direct a film edited by and written by M1 's producer , editor , and costume designer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.editor.film M1 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M1 .
  M2 ns:film.director.film ?x0 .
  M3 ns:film.director.film ?x0
  }