Fixed doubly-linked list length :)

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>