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