Did M1 , M2 , M3 , and M4 employ M0 's employee 's spouse
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.employment_history/ns:business.employment_tenure.company M0 .
FILTER ( ?x0 != ?x1 ) .
M1 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M3 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M4 ns:business.employer.employees/ns:business.employment_tenure.person ?x0
}