#include <bits/stdc++.h>
const long long INF = 1e9;
const long long MOD = 1e9 + 7;
const long long zero = 0;
const long long N = 1e5 + 5;
using namespace std;
int main() {
  long long n, ans(1);
  cin >> n;
  long long a[n];
  bool v[200001] = {};
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (v[a[i]]) ans++;
    v[a[i]] = 1;
  }
  cout << ans << endl;
}
