can i use count to see how many characters does my string in a list have c++ code example Example: count a character in a string c++ count(str.begin(), str.end(), 'e')