Were M2 , M4 , M5 , and M6 influenced by M3 , influenced by a screenwriter , and influenced by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.cinematographer .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by ?x1 .
M4 ns:influence.influence_node.influenced_by M3 .
M5 ns:influence.influence_node.influenced_by ?x0 .
M5 ns:influence.influence_node.influenced_by ?x1 .
M5 ns:influence.influence_node.influenced_by M3 .
M6 ns:influence.influence_node.influenced_by ?x0 .
M6 ns:influence.influence_node.influenced_by ?x1 .
M6 ns:influence.influence_node.influenced_by M3
}