Were M3 and M4 directed by and written by a female Spanish film editor
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.06mkj .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0
}