#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 1;
const int N = 200123;
int z, n;
vector<int> nbs[N];
int ans;
int main() {
  ios_base::sync_with_stdio(0);
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int t;
    cin >> t;
    nbs[t].push_back(i);
  }
  for (int i = 0; i <= n; i++) {
    ans += max((int)nbs[i].size() - 1, 0);
  }
  cout << ++ans << endl;
}
