#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  while (cin >> n) {
    long long r = sqrt(n);
    long long cnt = 0;
    for (long long i = 1; i <= r; i++) {
      if (n % i == 0) {
        cnt++;
        if (n / i != i) cnt++;
      }
    }
    cout << cnt << endl;
  }
}
