#include <bits/stdc++.h>
using namespace std;
bool sud[200000 + 5];
int ar[200000 + 5];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", ar + i);
  }
  int has = n + 1;
  for (int i = 0; i < n; i++) {
    if (!sud[ar[i]]) {
      has--;
      sud[ar[i]] = true;
    }
  }
  printf("%d\n", has);
}
