Was M3 a film whose writer and art director executive produced M0 and directed M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.producer.films_executive_produced M0 .
M3 a ns:film.film .
M3 ns:film.film.film_art_direction_by ?x0 .
M3 ns:film.film.written_by ?x0
}