Was M3 produced by M2 's writer and executive produced by a actor that influenced and was influenced by M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 ns:film.writer.film M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}