Was M3 executive produced by M0 's prequel 's star and writer and executive produced by M2 's Spanish star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M0 .
?x2 ns:film.actor.film/ns:film.performance.film M2 .
?x2 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.executive_produced_by ?x2
}