#include <bits/stdc++.h>
using namespace std;
int main() {
  long long b, i, c = 0, rt;
  scanf("%lli", &b);
  for (i = 1; i * i <= b; i++) {
    if (b % i == 0) c = c + 2;
  }
  rt = sqrt(b);
  if (rt * rt == b) c--;
  printf("%lli", c);
}
