def main(): N = int(input()) myList = [] for i in range(1, N + 1): if N % i == 0: j = N / i myList.append((i, j)) mySet = set(myList) print(len(mySet)) if __name__ == "__main__": main()