#include <bits/stdc++.h>
using namespace std;
const int MAXN = 2e5 + 42;
bool z[MAXN];
int main() {
  int n;
  int ans = 1;
  scanf("%d", &n);
  int p;
  for (int i = 1; i <= n; ++i) {
    scanf("%d", &p);
    if (z[p])
      ++ans;
    else
      z[p] = 1;
  }
  cout << ans;
}
