#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v(200000);
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    ++v[a];
  }
  int ans = 1;
  for (int i = 0; i < 2 * 100000; ++i) {
    if (v[i]) ans += v[i] - 1;
  }
  cout << ans;
  return 0;
}
