#include<iostream>
#include<vector>
using namespace std;
long long n;
long long del;
long long br = 1;
int main (){
    cin>>n;
    for(long long i = 1; i * i <= n; i ++){
        if(n%i == 0){
            long long nov = n / i;
            for(long long j = i + 1; j * j <= nov; j ++){
                if(nov%j == 0){
                    br++;
                    ///cout<<i<<" "<<j<<" "<<nov/j<<endl;
                }
            }
        }
    }
    cout<<br;

    return 0;
}
