Did a actor that influenced M2 , M3 , M4 , M5 , and M6 edit and write M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced M4 .
?x0 ns:influence.influence_node.influenced M5 .
?x0 ns:influence.influence_node.influenced M6
}