question: Was a star and editor of M1 , M2 , M3 , M4 , and M5 a screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:film.actor.film/ns:film.performance.film M1 .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.actor.film/ns:film.performance.film M3 .
  ?x0 ns:film.actor.film/ns:film.performance.film M4 .
  ?x0 ns:film.actor.film/ns:film.performance.film M5 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.editor.film M3 .
  ?x0 ns:film.editor.film M4 .
  ?x0 ns:film.editor.film M5
  }