#include <bits/stdc++.h>
using namespace std;
const int SIZE = 1e5 * 2 + 5;
const int INF = 0x3f3f3f3f;
int main() {
  int n;
  scanf("%d", &n);
  vector<int> a(n);
  for (int i = 0; i < n; i++) scanf("%d", &a[i]);
  sort(a.begin(), a.end());
  int ans = 1;
  for (int i = 1; i < n; i++)
    if (a[i] == a[i - 1]) ans++;
  printf("%d\n", ans);
  return 0;
}
