function charCount

function charCount commented