Did M2 , M4 , and M5 employ M3 and employ a film producer whose spouse wrote M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?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:film.writer.film M1 .
FILTER ( ?x0 != ?x1 ) .
M2 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M2 ns:business.employer.employees/ns:business.employment_tenure.person M3 .
M4 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M4 ns:business.employer.employees/ns:business.employment_tenure.person M3 .
M5 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M5 ns:business.employer.employees/ns:business.employment_tenure.person M3
}