#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  const int MaxN = 200000;
  int t[MaxN + 1];
  bool was[MaxN + 1];
  cin >> n;
  int ans = n + 1;
  was[0] = false;
  for (int i = 1; i <= n; i++) {
    cin >> t[i];
    was[i] = false;
    if (!was[t[i]]) {
      was[t[i]] = true;
      ans--;
    }
  }
  cout << ans << "\n";
  return 0;
}
