def main(): head = Box(9) box1 = Box(8) box2 = Box(7) box3 = Box(6) head.Next = box1 box1.Next = box2 box2.Next = box3 print(countElementsInLinkedList(head))