This formula will count the number of occurrences of a given single character within a text string in a single cell. This formula is case sensitive and will consider upper and lower case letters to be different characters.
How To Count A Specific Character In A Cell (Case Sensitive)
read more