Did a film 's executive producer marry M0 and marry a employee and founder of M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced ?x1 .
?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 .
?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 M0 .
?x1 a ns:film.film .
?x2 ns:organization.organization_founder.organizations_founded M2 .
?x2 ns:organization.organization_founder.organizations_founded M3 .
?x2 ns:organization.organization_founder.organizations_founded M4 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
FILTER ( ?x0 != ?x2 ) .
FILTER ( ?x0 != M0 )
}