Did a Swedish actor influence M1 , influence a producer of M3 , and marry M4 's star
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?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 .
?x1 ns:film.producer.film|ns:film.production_company.films M3 .
?x2 ns:film.actor.film/ns:film.performance.film M4 .
FILTER ( ?x0 != ?x2 )
}