n=int(input())
v=0
import math
f=math.floor(math.sqrt(n))
for i in range(1,f+1):
    if n % i == 0 :
        v+=1

print(v)