Did M0 's art director , writer , and director executive produce M1 , M2 , M3 , and M4 and direct M5 's sequel
SELECT count(*) WHERE {
?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 M1 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.producer.films_executive_produced M4 .
?x0 ns:film.writer.film M0 .
?x1 ns:film.film.prequel M5
}