Was a actor influenced by M1 and influenced by M2 , M3 , and M4 M5 's cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.cinematographer.film M5 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:influence.influence_node.influenced_by M4
}