Count Non Leaf Nodes Leetcode Interview