Did M1 and M3 influence a star , cinematographer , and writer of M0 and influence M2
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.writer.film M0 .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M3 ns:influence.influence_node.influenced ?x0 .
M3 ns:influence.influence_node.influenced M2
}