#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  map<int, int> mp;
  int mx = 1;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    if (mp[x])
      mx++;
    else
      mp[x] = 1;
  }
  cout << mx;
  return 0;
}
