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