#include <bits/stdc++.h>
using namespace std;
long long a, b;
int main() {
  ios::sync_with_stdio(false);
  while (cin >> b) {
    a = 0;
    for (long long i = 1; i <= b / i; ++i) {
      if (b % i == 0) {
        if (b == i * i) {
          a += 1;
        } else {
          a += 2;
        }
      }
    }
    cout << a << endl;
  }
  return 0;
}
