#!/usr/bin/env python
#-*- coding: utf-8 -*-

# http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_D

if __name__ == '__main__':
    a, b, c = map(int, raw_input().split())
    cnt = 0
    for i in range(a, b + 1):
        if c % i == 0:
            cnt += 1
    print cnt
