# 4658 质因数个数
n = int(input())
def deal(n):
res = 0
i = 2
while(i * i <= n):
if n % i == 0:
res += 1
while(n % i == 0):
n = n // i
i += 1
if n > 1:
res += 1
return res
print(deal(n))