Did M2 's art director , executive producer , director , and producer executive produce M3 and write M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.director.film M2 .
?x0 ns:film.film_art_director.films_art_directed M2 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1
}