#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
int getint() {
  int x;
  scanf("%d", &x);
  return x;
}
long long int getll() {
  long long int x;
  scanf("%lld", &x);
  return x;
}
int n, seq[200000 + 10];
int main() {
  n = getint();
  int ans = 1;
  while (n-- > 0) {
    int x = getint();
    if (!seq[x])
      seq[x] = 1;
    else
      ++ans;
  }
  printf("%d\n", ans);
  return 0;
}
