#include <bits/stdc++.h>
using namespace std;
int ar[] = {0, 1, 0, -1}, ac[] = {1, 0, -1, 0};
int main() {
  long long n;
  scanf("%lld", &n);
  int cnt = 0;
  for (long long i = 1; i * i <= n; ++i) {
    if (n % i == 0) {
      ++cnt;
      if (i != n / i) ++cnt;
    }
  }
  printf("%d", cnt);
  return 0;
}
