#include <bits/stdc++.h> using namespace std; int main() { vector<int> v1 ={1,2,3,4,7,6,6,8,9}; cout<<count(v1.begin(),v1.end(),6); return 0; }