Character count

Is there a way to measure the character count of a user input?