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