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