question: Did a cinematographer that M3 was written by , starred , and was executive produced by edit M1 and M2
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 ns:film.actor.film/ns:film.performance.film M3 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.producer.films_executive_produced M3 .
  ?x0 ns:film.writer.film M3
  }