question: Was M2 written by M3 , M4 , and M5 , written by M0 's sequel 's director , and directed by a film producer
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film ?x1 .
  ?x1 ns:film.film.prequel M0 .
  ?x2 a ns:film.producer .
  M2 ns:film.film.directed_by ?x2 .
  M2 ns:film.film.written_by ?x0 .
  M2 ns:film.film.written_by M3 .
  M2 ns:film.film.written_by M4 .
  M2 ns:film.film.written_by M5
  }