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