Did a art director executive produce M2 , executive produce M3 , and write M1
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.writer.film M1
}