quick and dirty character counter