#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, dum, ans = 1;
  cin >> n;
  vector<int> arr;
  for (int i = 0; i < n; i++) {
    cin >> dum;
    arr.push_back(dum);
  }
  sort(arr.begin(), arr.end());
  for (int i = 0; i < n - 1; i++) {
    if (arr[i] == arr[i + 1]) {
      ans++;
    }
  }
  cout << ans;
  return 0;
}
