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