Was a Spanish star and writer of M1 a screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.06mkj
}