#include <bits/stdc++.h>
using namespace std;
void GO() {
  ios_base::sync_with_stdio(0);
  cin.tie(0), cout.tie(0);
}
const long long INF = 1e9 + 7;
const long long mod = (1e9) + 7;
const int maxn = (int)2e5 + 1;
const long double PI = acos(-1.0);
const long double eps = 0.000000001;
mt19937 rnd(time(0));
void solve() {
  int n;
  cin >> n;
  int ans = 1;
  map<int, int> mp;
  for (int i = 0; i < n; ++i) {
    int a;
    cin >> a;
    mp[a]++;
  }
  for (auto &i : mp) ans += i.second - 1;
  cout << ans;
}
signed main() {
  GO();
  int Q = 1;
  while (Q--) {
    solve();
  }
}
