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