This is repeatable. The number indicated in the badge is 0, whereas the number I would expect is 8. If I right-click on the button and edit the Badge formula, the value 8 is previewed as well.
This happens consistently, and for other values.