#include <bits/stdc++.h>
using namespace std;
long long n, c, q;
int main() {
  cin >> n;
  q = 2;
  c = 2;
  if (n == 1) {
    cout << 1;
    return 0;
  }
  while (q * q < n) {
    if (n % q == 0) c += 2;
    q++;
  }
  if (q * q == n) c++;
  cout << c;
}
