Did a Spanish screenwriter produce M3 , direct M4 , M5 , M6 , and M7 , and write M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M4 .
?x0 ns:film.director.film M5 .
?x0 ns:film.director.film M6 .
?x0 ns:film.director.film M7 .
?x0 ns:film.producer.film|ns:film.production_company.films M3 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.06mkj
}