Created custom counter widget