Did a Spanish actor write and executive produce M2 's prequel
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 ns:film.film.sequel M2
}