Did a film distributor whose founder married M3 and M4 acquire M1 and M2 and acquire a production company
SELECT count(*) WHERE {
?x0 a ns:film.film_distributor .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired ?x1 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M1 .
?x0 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M2 .
?x0 ns:organization.organization.founders ?x2 .
?x1 a ns:film.production_company .
?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3 .
?x2 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 .
FILTER ( ?x2 != M3 ) .
FILTER ( ?x2 != M4 )
}