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