Did a cinematographer that wrote M1 influence M2 , M3 , M4 , and M5 and influence M6
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced M4 .
?x0 ns:influence.influence_node.influenced M5 .
?x0 ns:influence.influence_node.influenced M6
}