Was M3 written by a Spanish male art director
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.written_by ?x0
}