#include <bits/stdc++.h>
using namespace std;
void Divisors(long long n) {
  long long count = 0;
  for (long long i = 1; i <= sqrt(n); i++) {
    if (n % i == 0) {
      if (n / i == i)
        count++;
      else
        count += 2;
    }
  }
  cout << count;
}
int main() {
  long long n;
  cin >> n;
  Divisors(n);
}
