Count Linked List Nodes Leetcode Javascript Questions W3schools