Was a cinematographer influenced by a male director of M5 , influenced by M1 , and influenced by M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.director.film M5 .
?x1 ns:people.person.gender ns:m.05zppz
}