#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int i, j, k, m, l, n, A[2010], t, a, b, c, d,
      cum = 0, sum = 0, tax = 0, p, q, x, y, B[10000], D[10000];
  std::vector<long long int> vect;
  cin >> b;
  a = 0;
  p = b;
  n = b;
  if (b == 1 || b == 2) {
    cout << b << endl;
  } else {
    for (i = 1; i * i <= p; i++) {
      if (n % i == 0) {
        a = a + 2;
      }
      if (i * i == n) {
        a--;
      }
    }
    cout << a << endl;
  }
}
