question: Was M2 produced by M3 , produced by a screenwriter , directed by a costume designer , and edited by M4
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 M4 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies M3
  }