cnt = 0
a, b, c = 1, 1, 1

if (a >= 1 and a <= 10000) and (b >= 1 and b <= 10000) and (c >= 1 and c <= 10000):
    if a <= b:
        a, b, c = map(int, input().split())
        
for i in range(a, b):
    if c % i == 0:
        cnt += 1
        
print("{0}".format(str(cnt)))