Did a film director influence M1 , influence a cinematographer , and influence M2
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x1 a ns:film.cinematographer
}