Display the character count in a given input element