Was a screenwriter influenced by M4 's star and cinematographer , influenced by M1 , and influenced by M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.actor.film/ns:film.performance.film M4 .
?x1 ns:film.cinematographer.film M4
}