#include <bits/stdc++.h>
using namespace std;
template <class c>
struct rge {
  c b, e;
};
template <class c>
rge<c> range(c i, c j) {
  return rge<c>{i, j};
}
template <class c>
auto dud(c* x) -> decltype(cerr << *x, 0);
template <class c>
char dud(...);
struct debug {
  template <class c>
  debug& operator<<(const c&) {
    return *this;
  }
};
const int MXN = 2e5 + 5;
int t[MXN];
bool used[MXN];
int main() {
  int n;
  scanf("%d", &n);
  int r = 0;
  for (int i = 1; i <= (n); i++) {
    scanf("%d", &t[i]);
    if (used[t[i]])
      r++;
    else
      used[t[i]] = 1;
  }
  printf("%d\n", r + 1);
}
