N = int(input()) counter = 0 for i in range(1, N+1): if N % i == 0: counter += 1 print(counter)