Given a string s and a character c, count and return the number of times character c appears in string s.
The comparison is case-sensitive.
Input: First argument: string s. Second argument: character c (a single character string).
Output: An integer representing the count of occurrences of c in s.
Input: hello,l
Output: 2
Explanation: The character 'l' appears at indices 2 and 3 in 'hello', so count is 2.Input: mississippi,s
Output: 4
Explanation: 's' appears at positions 2, 3, 5, 6 in 'mississippi' → count = 4.Input: abcdefg,z
Output: 0
Explanation: 'z' does not appear in 'abcdefg', so count is 0.0 <= s.length <= 10^5c is a single printable ASCII character