N = int(input()) x = int(N ** 0.5) s = 0 for i in range(1, x + 1): if N % i == 0: s += 2 if x ** 2 == N: s -= 1 print(s)