n = int(input()) limit = int(n**(1/2)) numbers = [] for i in range(1, limit + 1): if i in numbers: break elif n%i == 0: numbers.append(i) numbers.append(n//i) if limit**2 == n: print(len(numbers) - 1) else: print(len(numbers))