The code is supposed to be updating the "counts" on the tabs, it is currently broken and needs to be tweaked to work.