#include <bits/stdc++.h>
using namespace std;
const long long int N = 2e5 + 5;
bool vis[N];
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long int n, p, ans = 1;
  cin >> n;
  vis[0] = 0;
  for (long long int i = 0; i < n; i++) {
    cin >> p;
    if (vis[p]) ans++;
    vis[p] = true;
  }
  cout << ans;
  return 0;
}
