<?php
// Repetitive Processing - How Many Divisors
$split_data = explode(" ",trim(fgets(STDIN)));
$a = $split_data[0];
$b = $split_data[1];
$c = $split_data[2];
$count = 0;             // ?????????????????°
// a???b?????§?????°?????????
for($i = $a; $i <= $b; $i++){
    if($c % $i === 0){
        $count++;
    }
}
echo $count;