#include <bits/stdc++.h>
using namespace std;
long long b, cnt = 0;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> b;
  long long ma = sqrt(b);
  if (ma * ma == b) cnt--;
  for (long long i = (1); i != (ma + 1); ++i) {
    if (b % i == 0) cnt += 2;
  }
  cout << cnt << endl;
  return 0;
}
