#include <bits/stdc++.h>
const long long INF = 1e18L + 1;
const int IINF = 1e9 + 1;
using namespace std;
template <class TH>
void _dbg(const char *sdbg, TH h) {
  cerr << sdbg << '=' << h << endl;
}
template <class TH, class... TA>
void _dbg(const char *sdbg, TH h, TA... a) {
  while (*sdbg != ',') cerr << *sdbg++;
  cerr << '=' << h << ',';
  _dbg(sdbg + 1, a...);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long n;
  cin >> n;
  map<long long, long long> a;
  for (long long _ = (long long)0; _ < (long long)n; _++) {
    int i;
    cin >> i;
    a[i]++;
  }
  long long res = 1;
  for (auto &i : a) {
    res += i.second - 1;
  }
  cout << res << "\n";
  return 0;
}
