import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int ans = 0;
		for (int i = a; i < b + 1; i++) 
			if (c % i == 0)
				ans++;
		
		System.out.println(ans);
	}
}

