Was M2 influenced by a actor , influenced by M3 , and influenced by M1 's writer and editor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:film.editor.film M1 .
?x1 ns:film.writer.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3
}