Were M4 and M6 produced by a Mexican male film editor that M3 married and directed by M5
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.0b90_r .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3 .
FILTER ( ?x0 != M3 ) .
M4 ns:film.film.directed_by M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.directed_by M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}