#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, tmp, sum = 1;
  int map[200000] = {0};
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> tmp;
    if (map[tmp] == 0) {
      map[tmp]++;
    } else
      sum++;
  }
  cout << sum;
}
