question: Did M0 's cinematographer , writer , art director , and director direct a sequel of M2 and executive produce M1 's prequel
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film M0 .
  ?x0 ns:film.director.film ?x1 .
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.film_art_director.films_art_directed M0 .
  ?x0 ns:film.producer.films_executive_produced ?x2 .
  ?x0 ns:film.writer.film M0 .
  ?x1 ns:film.film.prequel M2 .
  ?x2 ns:film.film.sequel M1
  }