Find the Count of Good Integers | Leetcode 3272