Did M2 influence M3 , influence M4 and M5 , and influence a German cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.nationality ns:m.0345h .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced M3 .
M2 ns:influence.influence_node.influenced M4 .
M2 ns:influence.influence_node.influenced M5
}