Did M2 influence a screenwriter and influence M1 's writer , cinematographer , art director , executive producer , and star
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.writer.film M1 .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced ?x1
}