#include <bits/stdc++.h> using namespace std; int main(){int A;cin>>A;int c=0;for(int i=1;i*i<=A;i++)if(A%i==0)c++;cout<<c<<"\n";}