#TodayILearned to count the occurences of one string in another:

([regex]::Matches(“Famous CFC”, “C” )).count

stackoverflow.com/questions…