#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
inline void chkmin(T1 &x, T2 y) {
  if (y < x) x = y;
};
template <typename T1, typename T2>
inline void chkmax(T1 &x, T2 y) {
  if (y > x) x = y;
};
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL), cout.tie(NULL);
  long long b;
  cin >> b;
  long long ans = 0;
  for (long long i = 1; i * i <= b; ++i) {
    if (b % i == 0) {
      ans++;
      if (i != b / i) ans++;
    }
  }
  cout << ans << '\n';
  return 0;
}
