func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, t[200005], ans = 0;   bool chk[200005];   int main() {     scanf( %d , &n);     for (int i = 1; i <= n; i++) scanf( %d , t + i);     chk[0] = true;     for (int i = n; i >= 1; i--)       if (!chk[i]) {         int x = i;         ans++;         while (!chk[x]) chk[x] = true, x = t[x];       }     printf( %d n , ans);     return 0;   }   