#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, m, k, l;
  cin >> n;
  long long col = 0;
  for (long long i = 1; i < sqrt(n); i++) {
    if (n % i == 0) col += 2;
  }
  if (sqrt(n) == round(sqrt(n))) {
    col++;
  }
  cout << col << endl;
  return 0;
}
