Were M4 and M5 edited by and written by M3 's Spanish male Mexican editor
SELECT count(*) WHERE {
?x0 ns:film.editor.film M3 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.06mkj .
?x0 ns:people.person.nationality ns:m.0b90_r .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.written_by ?x0
}