Did M1 influence M2 , influence M3 , influence a person 's actor , and marry M4
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
?x1 a ns:people.person .
FILTER ( M1 != M4 ) .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:influence.influence_node.influenced M3 .
M1 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
}