#include <iostream> // cout
#include <algorithm> // count
#include <vector> // vector
using namespace std;
int main () {
// counting elements in array:
int myints[] = {,,,,,,,}; // 8 elements
int mycount = count(myints, myints+, );
cout << "10 appears " << mycount << " times.\n"; // counting elements in container:
vector<int> myvector (myints, myints+);
mycount = count(myvector.begin()+, myvector.end(), );
cout << "20 appears " << mycount << " times.\n"; return ;
}