#include <bits/stdc++.h>
using namespace std;
const int INF = (int)1E9;
int main() {
  int n;
  cin >> n;
  map<int, int> cnt;
  for (int i = (0); i < (n); i++) {
    int x;
    scanf("%d", &x);
    cnt[x]++;
  }
  int ans = 1;
  for (auto it = cnt.begin(); it != cnt.end(); it++) {
    int val = it->second;
    if (val > 1) ans += val - 1;
  }
  cout << ans << endl;
  return 0;
}
