add text counter.