badge in segmented view

I like to show a badge in a segmented view to show how many items are visible. is this possible?
thanks
metta

You can define webix_badge class directly in the value of every button.

http://webix.com/snippet/39e254ed

thanks. works well.