#include <bits/stdc++.h>
using namespace std;
void err(istream_iterator<string> it) { cerr << endl; }
template <typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
  cerr << *it << " = " << a << "; ";
  err(++it, args...);
}
void c_p_c() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
long long ceil2(long long a, long long b) {
  long long c = a / b;
  if (c * b < a) c++;
  return c;
}
int32_t main() {
  c_p_c();
  long long b;
  cin >> b;
  if (b == 1) {
    cout << 1;
    return 0;
  }
  long long div = 0;
  for (long long i = 1; i * i <= b; i++) {
    if (b % i == 0) {
      if (i != b / i)
        div += 2;
      else
        div += 1;
    }
  }
  cout << div;
  return 0;
}
