#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 5;
int n;
int a[maxn];
bool vis[maxn];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n;
  if (n == 0) {
    cout << 0 << endl;
    return 0;
  }
  memset(vis, 0, sizeof(vis));
  int ans = 1;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (vis[a[i]])
      ans++;
    else
      vis[a[i]] = 1;
  }
  cout << ans << endl;
}
