add get the linked list length attribute