#include <bits/stdc++.h>
using namespace std;
int gcd(long long int a, long long int b) {
  if (a == 0 || b == 0) return 0;
  if (a == b) return a;
  if (a > b) return gcd(a - b, b);
  return gcd(a, b - a);
}
int lcm(long long int a, long long int b) { return (a * b) / gcd(a, b); }
int main() {
  long long int n;
  cin >> n;
  long long int cnt = 0;
  for (long long int i = 1; i <= sqrt(n); i++) {
    if (n % i == 0) {
      if (n / i == i)
        cnt++;
      else
        cnt = cnt + 2;
    }
  }
  cout << cnt;
}
