#include <bits/stdc++.h>
using namespace std;
inline int Read() {
  int x = 0, f = 1, c = getchar();
  for (; !isdigit(c); c = getchar())
    if (c == '-') f = -1;
  for (; isdigit(c); c = getchar()) x = x * 10 + c - '0';
  return x * f;
}
const int MAXN = 200005;
int n, m, a[MAXN];
int main() {
  n = Read(), m = 1;
  for (int i = 0; i < n; i++) a[Read()]++;
  for (int i = 0; i < n; i++) m += max(a[i] - 1, 0);
  return printf("%d\n", m), 0;
}
