Did M2 influence a founder of M0 's producer and distributor , marry M3 , and marry M1 's actor
SELECT count(*) WHERE {
?x0 ns:organization.organization_founder.organizations_founded ?x1 .
?x1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M0 .
?x1 ns:film.producer.film|ns:film.production_company.films M0 .
?x2 ns:film.actor.film/ns:film.performance.character M1 .
FILTER ( M2 != ?x2 ) .
FILTER ( M2 != M3 ) .
M2 ns:influence.influence_node.influenced ?x0 .
M2 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 .
M2 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
}