N=int(input()) count=2 for i in range(2,int(N**0.5)+1): if N%i==0: if i*i==N: count+=1 else: count+=2 else: pass print(count)