#include <bits/stdc++.h>
using namespace std;
int main() {
  set<long long> a;
  long long b;
  cin >> b;
  for (long long i = 1; i * i <= b; ++i)
    if (b % i == 0) {
      a.insert(i);
      a.insert(b / i);
    }
  cout << (long long)a.size() << '\n';
  return 0;
}
