Count Good Numbers Leetcode Two