n=int(input()) ans=set() for x in range(1,int(n**0.5)+2): if n%x==0: y=n//x ans.add((x,y)) ans.add((y,x)) print(len(ans))