Did M2 influence M3 , M4 , and M5 , influence M1 's director and star , and influence a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.director.film M1 .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced ?x1 .
M2 ns:influence.influence_node.influenced M3 .
M2 ns:influence.influence_node.influenced M4 .
M2 ns:influence.influence_node.influenced M5
}