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