#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b, ans = 0;
  cin >> b;
  for (a = 1; a * a <= b; ++a) ans += (b % a == 0) * 2;
  cout << ans - ((a - 1) * (a - 1) == b) << endl;
  return 0;
}
