#include <bits/stdc++.h>
using namespace std;
const int N = 200010;
int n, ans;
int cnt[N];
int main() {
  scanf("%d", &n);
  for (int i = 0; i <= n; i++) cnt[i] = 1;
  ans = n + 1;
  for (int i = 1; i <= n; i++) {
    int x;
    scanf("%d", &x);
    if (cnt[x]) {
      cnt[x]--;
      ans--;
    }
  }
  printf("%d\n", ans);
  return 0;
}
