#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a;
  cin >> a;
  if (a == 1)
    cout << "1" << endl;
  else {
    long long count = 0;
    {
      for (long long i = 1; i * i <= a; i++) {
        if (a % i == 0 && a / i != i)
          count += 2;
        else if (a % i == 0 && a / i == i)
          count++;
      }
      cout << count << endl;
    }
  }
}
