CharacterCounts
CharacterCounts["string"] gives an association whose keys are the distinct characters in string, and whose values give the number of times those characters appear in string.
CharacterCounts["string",n] gives counts of the distinct n-grams consisting of runs of n characters in string.
CharacterCounts[{string1,string2,…},…] gives the counts for each of the stringi.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.