Was M4 edited by a female Spanish film producer that played M2 and produced by M5 and M6
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.actor.film/ns:film.performance.character M2 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.06mkj .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies M6
}