Hello Danillo,
There is a very standard way of doing this.
If you want to show the list of items in a table as count in the Icon Tab Bar filter then do as follows -
1. Attach a method to the updateFinished event handler of table as -
updateFinished="onUpdateFinished"
2. Code for the method as -
onUpdateFinished: function(oEvent) {
// update the worklist's object counter after the table update
var sTitle,
oTable = oEvent.getSource(),
iTotalItems = oEvent.getParameter("total");
oTabFilter.setCount(iTotalItems);
}
BR.