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