Were M3 and M4 influenced by a cinematographer , influenced by a film director , and influenced by M0 's cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 a ns:film.director .
?x2 a ns:film.cinematographer .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by ?x2 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by ?x2
}