#include<bits/stdc++.h> using namespace std; int main(){ int n,t=0,a=sqrt(n); cin>>n; for(int i=1;i<=a;i++){ if(n%i==0) t++; } cout<<t; return 0; }