def size(): count = 0 current_node = linked_list.head while(node != null): counter += 1 current_node = current_node.next return count