Remove extra len calls in doubly-linked-list's methods
#8600
+9
−5
len calls in doubly-linked-list's methods
#8600