#include <bits/stdc++.h>
using namespace std;
int main() {
  srand(time(NULL));
  int n, ans = 1, x;
  cin >> n;
  vector<int> A(n, 0);
  A[0] = 0;
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (A[x]) ans++;
    A[x] = 1;
  }
  cout << ans;
  return 0;
}
