#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 10, MAX = 2e5 + 1e4, MOD = 1e9 + 7, MAXL = 25;
void OUT(long double o, int x) {
  cout << fixed << setprecision(x) << o;
  return;
}
long long a[MAX], t[MAX];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, x = 1;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    t[a[i]]++;
  }
  for (int i = 0; i <= n; i++)
    if (t[i] > 0) x += t[i] - 1;
  cout << x;
  return 0;
}
