#include <bits/stdc++.h>
using namespace std;
int main() {
  long long c, ans;
  cin >> c;
  ans = 0;
  for (long long i = 1; i * i <= c; ++i)
    if (c % i == 0) {
      if (i * i != c) {
        ans += 2;
      } else {
        ans += 1;
      }
    }
  cout << ans;
  return 0;
}
