#include <bits/stdc++.h>
int a[200005];
int main() {
  int n;
  while (scanf("%d", &n) != EOF) {
    memset(a, 0, sizeof(a));
    int ass, i;
    for (i = 0; i < n; i++) {
      scanf("%d", &ass);
      a[ass]++;
    }
    int sum = 1;
    for (i = 0; i < 200005; i++) {
      if (a[i] != 0) sum += a[i] - 1;
    }
    printf("%d\n", sum);
  }
  return 0;
}
