TextCounter implemented