n = int(input()) ans = set() i = 1 while i * i <= n: if n % i == 0: ans.add(f"{i}{n // i}") ans.add(f"{n // i}{i}") i += 1 print(len(ans))