#include <bits/stdc++.h>
void RI() {}
template <typename... T>
void RI(int& head, T&... tail) {
  scanf("%d", &head);
  RI(tail...);
}
using namespace std;
bool vis[200005];
int main() {
  int n;
  int cnt = 0;
  while (~scanf("%d", &n)) {
    memset(vis, false, sizeof(vis));
    cnt = 0;
    for (int i = 1; i <= n; i++) {
      int x;
      RI(x);
      if (!vis[x])
        vis[x] = true;
      else
        cnt++;
    }
    printf("%d\n", cnt + 1);
  }
  return 0;
}
