Given an array of positive integers, return how many values contain an even number of decimal digits.
Inspect each value and count only those with 2, 4, 6, or another even number of digits.
Inputnums = [12, 345, 2, 6, 7896]
Output2
12 has two digits and 7896 has four. The other values have odd digit counts, so the result is 2.
Inputnums = [555, 901, 482, 1771]
Output1
1771 has four digits. Each of the other numbers has three, so only one number qualifies.
1 ≤ nums.length ≤ 5001 ≤ nums[i] ≤ 100,000