Leetcode 1426. Counting Elements | Hello Interview