#include <bits/stdc++.h>
using namespace std;
const int maxN = 1e6 + 105;
int n;
int main() {
  int n;
  cin >> n;
  int c[maxN];
  int c2[maxN];
  memset(c, 0, sizeof(c));
  int x;
  for (int i = 0; i < n; i++) {
    cin >> x;
    c[x]++;
    c2[i] = x;
  }
  int ans = 1;
  for (int i = 0; i < n; i++) {
    ans += max(0, c[i] - 1);
  }
  cout << ans << "\n";
}
