n = int(input()) ls = [] for i in range(n): if n % (i+1) == 0: ls.append(i+1) print(len(ls))