#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 5;
bool used[maxn];
int main() {
  int n;
  scanf("%d", &n);
  int ans = 1;
  for (int i = 1; i <= n; ++i) {
    int x;
    scanf("%d", &x);
    if (used[x])
      ++ans;
    else
      used[x] = true;
  }
  printf("%d\n", ans);
  return 0;
}
