N=int(raw_input()) num1=1 cnt=0 while num1*num1<=N: if N%num1==0: num2=N/num1 if num1!=num2: cnt+=2 else: cnt+=1 num1+=1 print cnt