#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<int> was(n + 1);
  int ans = 1;
  for (int i = 0; i < n; ++i) {
    int x;
    cin >> x;
    if (was[x]) {
      ans++;
    }
    was[x] = 1;
  }
  cout << ans << "\n";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  solve();
  return 0;
}
