Was M1 written by , executive produced by , and directed by a art director of M0 's prequel
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.directed_by ?x0 .
M1 ns:film.film.executive_produced_by ?x0 .
M1 ns:film.film.written_by ?x0
}