Was M4 executive produced by a Spanish film producer that wrote M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.nationality ns:m.06mkj .
M4 ns:film.film.executive_produced_by ?x0
}