when relevant content is
added and updated.
How do you count occurrence of characters in a string?
Group-object is a ready made cmdlet to answer this question
Split the string into a character array. Pipe into group-object using –NoElement to drop the data and sort the results in descending order.