question: Were M2 and M3 written by a editor and cinematographer of a film 's sequel and executive produced by a person
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x1 ns:film.cinematographer.film ?x2 .
  ?x1 ns:film.editor.film ?x2 .
  ?x2 ns:film.film.prequel ?x3 .
  ?x3 a ns:film.film .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.written_by ?x1 .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by ?x1
  }