question: Did a producer of M5 's prequel write M3 , direct M4 , and edit M0 , M1 , and M2
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M4 .
  ?x0 ns:film.editor.film M0 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
  ?x0 ns:film.writer.film M3 .
  ?x1 ns:film.film.sequel M5
  }