class Solution(object):
def countBalls(self, lowLimit, highLimit):
"""
:type lowLimit: int
:type highLimit: int
:rtype: int
"""
return max(Counter(sum(map(int, str(i))) for i in range(lowLimit, highLimit + 1)).values())