#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  int i = 0;
  cin >> a >> b >> c;
  for (int j = 0; a <= j <= b; j++) {
    if (c % j == 0) {
      i++;
    }
  }
  cout << i << endl;
  return 0;
}
