Were M6 and M7 executive produced by and directed by a Spanish writer of M0 , M1 , M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4 .
?x0 ns:people.person.nationality ns:m.06mkj .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.executive_produced_by ?x0 .
M7 ns:film.film.directed_by ?x0 .
M7 ns:film.film.executive_produced_by ?x0
}