#include <bits/stdc++.h>
const int N = 3 * 1e5 + 5;
const long MOD = 1000000007;
const long long inf = 1e18;
using namespace std;
long long val(long long n, long long m) {
  if (n == 1) return 1;
  if (m == 0) return 1;
  long long sum = 0;
  for (long long i = 0; i <= m; i++) {
    sum += val(n - 1, m - i) % MOD;
  }
  return sum;
}
int main() {
  long long b;
  cin >> b;
  int ctr = 0;
  for (long long i = 1; i * i <= b; i++) {
    if (b % i == (long long)0) {
      if (b / i == i)
        ctr += 1;
      else
        ctr += 2;
    }
  }
  if (b == (long long)1) {
    cout << "1";
    exit(0);
  }
  cout << ctr;
  return 0;
}
