#include <bits/stdc++.h>
using namespace std;
vector<long long> factorization(long long n) {
  vector<long long> result(1, n);
  if (n == 1) {
    return result;
  }
  for (long long i = 2; i * i <= n; i++) {
    if (n % i == 0) {
      result.push_back(i);
      if (n / i != i) {
        result.push_back(n / i);
      }
    }
  }
  result.push_back(1);
  return result;
}
int main() {
  long long b;
  cin >> b;
  long long result = 1;
  vector<long long> fact = factorization(b);
  cout << fact.size() << "\n";
}
