Create textcounter widget