Was a person 's Spanish spouse employed by M0 , employed by M3 's employer , and employed by M1
SELECT count(*) WHERE {
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M0 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?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 ?x2 .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person M3 .
?x2 a ns:people.person .
FILTER ( ?x0 != ?x2 )
}