class Solution: def countDigits(self, num: int) -> int: return len(list(filter(lambda n:not num%n,[int(n)for n in str(num)])))