#include <iostream>
#include <cmath>
using namespace std;
int main(){
	ios::sync_with_stdio(false);
    cin.tie(0);
	int k=0;
	long long n;
	cin >> n;
	for(int i = 1; i*i <= n; i++){
		if(n % i == 0)
		k += 2;
	}
	if(sqrt(n) / 2 == 0) 
	cout << k-1;
	else
	cout << k;
}