question: Was M2 written by a film editor that M1 was directed by and starred and edited by M3 and M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.editor .
  ?x0 ns:film.actor.film/ns:film.performance.film M1 .
  ?x0 ns:film.director.film M1 .
  M2 ns:film.film.edited_by M3 .
  M2 ns:film.film.edited_by M4 .
  M2 ns:film.film.written_by ?x0
  }