The second counter adds and subtracts values other than 1 and therefore seems broken.
That's because there are hundreds of people coming from hacker news clicking the button. if you just refresh the page you can see the number change. The current total seems to be saved server side