Count Linked List Nodes Leetcode Playground Python