import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { new Main().run(); } void run() { Scanner sc=new Scanner(System.in); long N=sc.nextLong(); int ans=0; for(long div=1;div*div<=N;++div) { if(N%div!=0)continue; ++ans; if(N/div!=div)++ans; } System.out.println(ans); } static void tr(Object... objects) { System.out.println(Arrays.deepToString(objects)); } }