Was M2 's producer and distributor founded by M0 and M1 and founded by a actor 's spouse
SELECT count(*) WHERE {
?x0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:organization.organization.founders ?x1 .
?x0 ns:organization.organization.founders M0 .
?x0 ns:organization.organization.founders M1 .
?x1 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 .
?x2 a ns:film.actor .
FILTER ( ?x1 != ?x2 )
}