question: Was M2 edited by , executive produced by , produced by , and written by a screenwriter that was influenced by a film editor
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x1 a ns:film.editor .
  M2 ns:film.film.edited_by ?x0 .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M2 ns:film.film.written_by ?x0
  }