Adding a badge to a tab using TabSheet

Hi guys. I am about to embark on trying to add the capability of showing a badge on a particular tab with the Vaadin TabSheet component.
Something like whats shown
I was wondering if anyone had any tips/ideas for doing this. I was hoping I wouldn’t have to write any client side code, but it appears like that won’t happen and I will have to write some sort of client extenstion to get the badge injected into the right elements of a tab.

Have a look at this add-on: