#include <bits/stdc++.h>
using namespace std;
FILE *in, *out;
int N, M, K;
int ar[200100];
int read() {
  int i, j, k;
  int x, y;
  cin >> N;
  for (i = 0; i < N; i++) {
    cin >> x;
    ar[x]++;
  }
  int ans = 0;
  for (i = 0; i <= N; i++) {
    if (ar[i] > 0) ans += ar[i] - 1;
  }
  cout << ans + 1 << "\n";
  return 0;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  in = stdin;
  out = stdout;
  read();
  return 0;
}
