n = int(input()) c = 0 for i in range(1, int(n**0.5)): if n % i == 0: c += 2 if n == int(n ** 0.5) ** 2: print(c + 1) else: print(c)