#include <bits/stdc++.h>
using namespace std;
int n, t[200010], cnt[200010], summ;
int main() {
  cin >> n;
  cnt[0] = 1;
  for (int i = 0; i < n; i++) {
    cin >> t[i];
    cnt[t[i]]++;
  }
  for (int i = 0; i < n; i++) summ += max(0, cnt[i] - 1);
  cout << summ;
  return 0;
}
