import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); String str = s.next(); s.close(); long n = (long)Integer.parseInt(str); int count = 0; for(long i= 1;i<=n;i++){ if(n%i==0){ count++; } } System.out.println(count); } }