import math N = int(input().strip()) s = {} count = 0 for i in range(1, int(math.sqrt(N))+1): if N % i == 0 and s.get(i, 0) == 0 and s.get(N//i, 0) == 0: s[i] = 1 count += 2 if i != N//i else 1 print(count)