Did a actor that M3 influenced and M2 was influenced by edit and executive produce M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by M3
}