int main()
{
std::map<std::string, int> menu {
{"Tandoori", 100},
{"Vegetarian", 50},
{"Mushroom", 60},
{"Coffee", 10}
};
int count = 0;
// Let us attempt to get items whose cost is more than 50.
count = std::count_if(menu.begin(), menu.end(),
[](std::pair<std::string, int> x){return x.second > 50; });
std::cout << "Number of menu items cost > 50 using std::count_if function " << count << std::endl;
return 0;
}