Was M2 directed by , written by , executive produced by , and produced by a Spanish art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:people.person.nationality ns:m.06mkj .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by ?x0
}