add text counter