#include <bits/stdc++.h>
using namespace std;
const long long MAXN = 1123456;
template <typename T>
T sqr(T x) {
  return x * x;
}
template <typename T>
void vout(T s) {
  cout << s << "\n";
  exit(0);
}
long long bp(long long a, long long n) {
  long long res = 1;
  while (n) {
    if (n % 2) res *= a;
    a *= a;
    n >>= 1;
  }
  return res;
}
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  long long n;
  cin >> n;
  long long ans = 0;
  for (long long i = 1; i * i <= n; i++)
    if (n % i == 0) {
      ans++;
      if (i != n / i) ans++;
    }
  cout << ans << "\n";
  cerr << "Time execute: " << clock() / (double)CLOCKS_PER_SEC << " sec"
       << "\n";
  return 0;
}
