import math n = int(input()) ans = 0 for i in range(1, math.ceil(math.sqrt(n))): if n % i == 0: r = n // i if n // r == r: ans += 1 else: ans += 2 print(ans)