Was a cinematographer that M1 was influenced by and M3 's star was influenced by M2 's executive producer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x1 ns:film.actor.film/ns:film.performance.film M3
}