Were M3 and M5 produced by M4 and executive produced by a Spanish cinematographer that M2 was produced by
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M4
}