Were M4 , M5 , and M6 produced and directed by a Spanish male film producer that produced M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.06mkj .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.directed_by ?x0 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}