#include <bits/stdc++.h>
int main() {
  int a, b, c;
  int count = 0;
  scanf("%d %d %d", a, b, c);
  for (; a <= b; a++) {
    if (!(c % a)) {
      count++;
    }
  }
  printf("%d\n", count);
  return 0;
}
