#include <bits/stdc++.h>
using namespace std;
int p[200010];
int main() {
  int n, m, ans = 1;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &m);
    if (p[m] == 0) {
      p[m]++;
    } else
      ans++;
  }
  printf("%d\n", ans);
  return 0;
}
