#include <bits/stdc++.h>
using namespace std;
const long long mOD = 1e9 + 7;
const long long dx[4] = {-1, 1, 0, 0};
const long long dy[4] = {0, 0, -1, 1};
const long long MAX = 1e5 + 50;
long long n, x, k, m;
string second;
bool ok;
vector<long long> v;
long long divCount(long long n) {
  long long cnt = 0;
  for (long long i = 1; i <= sqrt(n); i++) {
    if (n % i == 0) {
      if (n / i == i)
        cnt++;
      else
        cnt = cnt + 2;
    }
  }
  return cnt;
}
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long coins, friends, have, nw;
  cin >> n;
  long long ans = 0, dv = divCount(n);
  if (dv) ans = 1;
  cout << dv << '\n';
}
