#include <bits/stdc++.h>
using namespace std;
long long int i, j, n, p, t, q, h = 0, r = 1, g = 1, ct = 0;
stack<char> s1;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> n;
  for (i = 1; i * i <= n; i++) {
    if (n % i == 0) {
      if (n / i == i)
        ct++;
      else
        ct += 2;
    }
  }
  cout << ct;
}
