Added character and text counter