question: Was a person that M1 and M2 were written by and edited by M3 's director , costume designer , and cinematographer
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:film.cinematographer.film M3 .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2
  }