#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  std::vector<int> power(n, -1), school(n, -1), chosen(k, -1);
  int ans = 0;
  for (int i = 0; i < n; i++) {
    cin >> power[i];
  }
  for (int i = 0; i < n; i++) {
    cin >> school[i];
  }
  for (int i = 0; i < k; i++) {
    cin >> chosen[i];
  }
  for (int i = 0; i < k; i++) {
    for (int j = 0; j < n; j++) {
      if (power[j] > power[chosen[i] - 1] &&
          school[chosen[i] - 1] == school[j] && chosen[i] - 1 != j) {
        ans++;
        break;
      }
    }
  }
  cout << ans;
  return 0;
}
