Was M1 's Mexican cinematographer 's spouse 's spouse 's country of nationality M0
SELECT count(*) WHERE {
?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 ?x1 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
?x2 ns:film.cinematographer.film M1 .
?x2 ns:people.person.nationality ns:m.0b90_r .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x1 != ?x2 ) .
M0 ^ns:people.person.nationality ?x0
}