#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e18, MOD = 1e9 + 7, MAXN = 105;
const long double EPS = 1e-9, PI = acos(-1);
int32_t main() {
  int64_t n;
  cin >> n;
  vector<int64_t> nums(n);
  for (int64_t i = 0; i < n; ++i) cin >> nums[i];
  int64_t ans = 1;
  vector<bool> time(n + 1);
  time[0] = true;
  for (int64_t i = 0; i < n; ++i) {
    time[i + 1] = true;
    if (time[nums[i]])
      time[nums[i]] = false;
    else
      ans++;
  }
  cout << ans << endl;
  return 0;
}
