Was M2 produced by M0 's Spanish writer
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.06mkj .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}