Was M2 influenced by a film 's sequel 's writer , star , and executive producer and influenced by M0 's cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x1 ns:film.actor.film/ns:film.performance.film ?x2 .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 ns:film.film.prequel ?x3 .
?x3 a ns:film.film .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1
}