countChar() prototype

use: return the number of time character ch occurs in the string.
countChar() definition

use: return the number of time character ch occurs in the string.