N = int(input()) ANS = set() I = 1 while I ** 2 <= N: if N % I == 0: ANS.add(f"{I}{N // I}") ANS.add(f"{N // I}{I}") I += 1 print(len(ANS))