question: Was M2 edited by M1 's actor , produced by a costume designer , and directed by M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x1 ns:film.actor.film/ns:film.performance.character M1 .
  M2 ns:film.film.directed_by M3 .
  M2 ns:film.film.edited_by ?x1 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
  }