Add character counter