Was M0 a female Spanish Swedish spouse of M4
SELECT count(*) WHERE {
FILTER ( M0 != M4 ) .
M0 ns:people.person.gender ns:m.02zsn .
M0 ns:people.person.nationality ns:m.06mkj .
M0 ns:people.person.nationality ns:m.0d0vqn .
M0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4
}