start of a counter widget