Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given a positive integer num, return the number of positive integers less than or equal to num whose digit sums are even.
The digit sum of a positive integer is the sum of all its digits.
 
Please complete the following python code precisely:
```python
class Solution:
    def countEven(self, num: int) -> int:
```