#include<bits/stdc++.h>
using namespace std;
int main(){
map<int,int> b;
vector<int> a;
int n,s; cin >> n;
while(n--){
cin >> s;
a.push_back(s);
b[s]++;
}
cout << a.size() - b.size() + 1;
//cout << 1+(n-b.size());
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCl7CgltYXA8aW50LGludD4gYjsKCXZlY3RvcjxpbnQ+IGE7CglpbnQgbixzOwljaW4gPj4gbjsKCXdoaWxlKG4tLSl7CgkJY2luID4+IHM7CgkJYS5wdXNoX2JhY2socyk7CgkJYltzXSsrOwoJfQoJY291dCA8PCBhLnNpemUoKSAtIGIuc2l6ZSgpICsgMTsKCS8vY291dCA8PCAxKyhuLWIuc2l6ZSgpKTsKfQ==