question: Was a film 's prequel produced by , written by , and executive produced by M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.film.executive_produced_by M0 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
  ?x0 ns:film.film.sequel ?x1 .
  ?x0 ns:film.film.written_by M0 .
  ?x1 a ns:film.film
  }