@Ancient_Programmer I took the code snippets you posted ( thanks for providing those BTW ) and tried this out locally and it appears to be working for me. I added a timestamp output to verify that TopBar is updating, and you can see in the console log that incrementPostCount() is being called.
I would try what @MikeR suggested and make sure you see TopBar listed.
Also for good measure, do a fresh install of cbwire 4.
box install cbwire@4 --force
Let us know how it goes.
