Was M3 executive produced by a Spanish cinematographer and directed by a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.writer .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.executive_produced_by ?x0
}