Did M2 , M4 , and M5 influence M3 and influence a person that played M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.actor.film/ns:film.performance.character M1 .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced M3 .
M4 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced M3 .
M5 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced M3
}