#include <bits/stdc++.h>
using namespace std;
int main() {
  long long b;
  cin >> b;
  long long x = 2;
  long long n = b;
  long long val = 0;
  long long ans = 1;
  while (x * x <= n) {
    if (b % x == 0) {
      val = 0;
      while (b % x == 0) {
        val++;
        b /= x;
      }
      ans *= (val + 1);
    }
    x++;
  }
  if (b != 1) ans *= 2;
  cout << ans << endl;
}
