import math n = int(input()) cnt = 0 i = 1 while True: if i < math.sqrt(n): if n % i ==0: cnt+=2 elif i == math.sqrt(n): cnt+=1 else: break i+=1 print(cnt)