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