#include <bits/stdc++.h>
int main() {
  long long b, ans = 0;
  std::cin >> b;
  int bSqrt = sqrt(b);
  for (int multiplier = 1; multiplier <= bSqrt; ++multiplier)
    if (!(b % multiplier)) ++ans;
  ans *= 2;
  if ((long long)bSqrt * bSqrt == b) ans -= 1;
  std::cout << ans;
  return 0;
}
