Was M3 directed by M4 and produced by a Spanish executive producer of M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.directed_by M4 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}