Define a method named count_one_char that accepts a string and a char as inputs and returns the number of times the char occurs in the string as an int.
Define a method named count_one_char that accepts a string and a char as inputs and returns the number of times the char occurs in the string as an int.