Did M1 , M3 , M4 , and M5 influence M2 and influence a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced M2 .
M4 ns:influence.influence_node.influenced ?x0 .
M4 ns:influence.influence_node.influenced M2 .
M5 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced M2
}