Was M2 distributed by M3 and produced by a film 's Spanish producer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.film .
M2 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}