import math n = int(input()) q = int(math.sqrt(n)) c = 0 for i in range(1,q+1): if n%i==0: c+=1 print(c*2 - (n==q**2))