#include <bits/stdc++.h>
using namespace std;
int n;
vector<bool> deg(200200);
int main() {
  scanf("%d", &n);
  int x;
  int ans = 1;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &x);
    if (deg[x])
      ans++;
    else
      deg[x] = true;
  }
  printf("%d\n", ans);
  return 0;
}
