Counting the occurrence of a certain character in string
Hello there, I was wondering if there is a way to count the occurrence of a certain character in a string. Specifically, I have a column that contains the gender information (M or F) of each data entry. All of the data entries are grouped according to a unique key, and while grouping, the gender column is collapsed with a…