question: Was a costume designer that M1 and M2 were edited by and written by M3 's actor
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x0 ns:film.actor.film/ns:film.performance.character M3 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2
  }