'SAPIU5 collapsible header - Show Filter Count

I have SAPUI5 DynamicPageHeader in Fiori app, which looks like this: enter image description here

It has a "collapsible" link & one filter bar is selected with value in it.. When I collapse the header, I want to show "Filters Selected:1", something like this: 1

How can this be achieved? I read through DynamicPageHeader API wiki, but could not find any direct way/methods to do this.

Thanks in Advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source