std::count_if with lyamda