#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  long long b;
  cin >> b;
  long long p = 2;
  long long ans = 1;
  while (p * p <= b) {
    if (b % p == 0) {
      int k = 0;
      while (b % p == 0) {
        b /= p;
        k++;
      }
      ans = ans * (k + 1);
    }
    p++;
  }
  if (b > 1) ans = ans * 2;
  cout << ans << endl;
  return 0;
}
