#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long b;
  cin >> b;
  set<long long> ans;
  ans.insert(1);
  ans.insert(b);
  for (long long i = 2; i * i <= b; i++)
    if (b % i == 0) {
      ans.insert(i);
      ans.insert(b / i);
    }
  cout << (long long)ans.size() << endl;
  return 0;
}
