Was M0 's sequel written by M1 's director , producer , art director , and executive producer
SELECT count(*) WHERE {
?x0 ns:film.film.prequel M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.director.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1
}