#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long b, c = 0;
  cin >> b;
  for (long long i = 1; i * i <= b; i++) {
    if (b % i == 0) c++;
    if (b % (b / i) == 0 and i != (b / i)) c++;
  }
  cout << c;
}
