#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, div = 0;
  cin >> n;
  long long int g = sqrt(n);
  for (long long int i = 1; i <= g; i++) {
    if (n % i == 0) div += 2;
  }
  long long int t = g * g;
  if (t == n) div--;
  cout << div << endl;
}
