Chap. 10 bonus exercise - post character counter