#include using namespace std; int main() { int grounds[] = {1, 3, 3, 7, 9, 9, 9, 9, 11, 11, 11, 12, 14}; int size = sizeof(grounds) / sizeof(grounds[0]); int item = 9; int count = 0; for (int i = 0; i < size; i++) { if (grounds[i] == item) { count++; } } cout << count; return 0; }