Was M3 influenced by M2 's director and executive producer and influenced by a screenwriter that M1 influenced
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.producer.films_executive_produced M2 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}