Add character counter.

Sorry so sloppy for 2 PRs. My local repo got a little messy.