question: Did M1 's art director direct M2 , write M0 , direct M3 , and write M4 's prequel
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.film_art_director.films_art_directed M1 .
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:film.writer.film M0 .
  ?x1 ns:film.film.sequel M4
  }