Was M3 directed by M2 's director , written by a art director , and executive produced by a person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 a ns:film.film_art_director .
?x2 ns:film.director.film M2 .
M3 ns:film.film.directed_by ?x2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}