question: Did M0 's sequel star a executive producer of M1 and M2 and star M3 's writer
query: SELECT count(*) WHERE {
  ?x0 ns:film.film.prequel M0 .
  ?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
  ?x0 ns:film.film.starring/ns:film.performance.actor ?x2 .
  ?x1 ns:film.producer.films_executive_produced M1 .
  ?x1 ns:film.producer.films_executive_produced M2 .
  ?x2 ns:film.writer.film M3
  }