Add character counter.