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