#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ans, i, a[200020], b[200020];
  scanf("%d", &n);
  ans = 1;
  for (i = 1; i <= n; i++) scanf("%d", &a[i]);
  memset(b, 0, sizeof(b));
  for (i = 1; i <= n; i++) {
    if (!b[a[i]])
      b[a[i]] = 1;
    else
      ans++;
  }
  cout << ans << endl;
}
