# -*- coding: utf-8 -*- N = int(input()) i = 1 ans = 0 while i*i<=N: if N%i==0: ans += 1 if N//i==i else 2 i += 1 print(ans)