#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const int mod2 = 1e9 + 9;
const int maxN = 5e5 + 100;
const int INF = 1e9 + 7;
const int maxedge = 1e6 + 100;
const long long LL_INF = 1e18 + 11;
using namespace std;
long long n, ans;
map<long long, long long> ma;
void file() {
  freopen("pluses.in", "r", stdin);
  freopen("pluses.out", "w", stdout);
}
void boost() {
  ios_base ::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  cin >> n;
  for (int long long i = 1; i * i <= n; i++) {
    if (n % i == 0) {
      if (ma[i] == 0) {
        ans++;
        ma[i]++;
      }
      if (ma[n / i] == 0) {
        ans++;
        ma[n / i]++;
      }
    }
  }
  cout << ans;
}
