question: Was a prequel and sequel of a film produced , edited , and directed by M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.film.directed_by M0 .
  ?x0 ns:film.film.edited_by M0 .
  ?x0 ns:film.film.prequel ?x1 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
  ?x0 ns:film.film.sequel ?x1 .
  ?x1 a ns:film.film
  }