N = int(input()) x = int(N ** 0.5) s = set() for i in range(1, x + 1): if (N % i) == 0: s |= {i, N // i} print(len(s))