added support for buttons with counter

Now compact button with counter and large button with counter are
available, too.