#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[200010];
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) scanf("%d", a + i);
  sort(a, a + n);
  cout << 1 + (n - (unique(a, a + n) - a));
  return 0;
}
