question: Was M2 directed by M3 , written by a film editor , and directed by M1 's editor , cinematographer , and executive producer
query: SELECT count(*) WHERE {
  ?x0 a ns:film.editor .
  ?x1 ns:film.cinematographer.film M1 .
  ?x1 ns:film.editor.film M1 .
  ?x1 ns:film.producer.films_executive_produced M1 .
  M2 ns:film.film.directed_by ?x1 .
  M2 ns:film.film.directed_by M3 .
  M2 ns:film.film.written_by ?x0
  }