Count how many times char occurs in input.
char
input
countCharacter('hello', 'l'); // 2 Copy
countCharacter('hello', 'l'); // 2
Count how many times
charoccurs ininput.