Was M3 a production company whose founder and employee married M0 and M1 and was influenced by M2 's star
SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced_by ?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 M0 .
?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 M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
FILTER ( ?x0 != M0 ) .
FILTER ( ?x0 != M1 ) .
M3 a ns:film.production_company .
M3 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .
M3 ns:organization.organization.founders ?x0
}