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