You're right, and that one is on me — 1.0.2 caused it. 1.0.3 is out and fixes it.
The count is worked out by the server every time a post is sent to your browser. What 1.0.2 added was a rule that said "a reply just arrived, add one to its parent's count", so that the toggle appears immediately instead of only after a reload. The problem is that it hooked that rule in a place that cannot tell these replies were just written from these replies are a page of history you just loaded. It added one for both.
So every reply already on the page got counted a second time, on top of the server's count that included it all along. Hence three replies reading "5", one more taking it to "7", and a new thread saying "1 replies" until you reloaded and it became "2" — the reload is the server sending its correct count, and then the browser adding one again.
It now hooks one level up, where a single post arriving (you posted a reply, or somebody else did and it was pushed to you live) is still distinguishable from an array of posts arriving (the stream, or a branch being opened). An array means the server is describing what already exists — and what already exists is already in the count that came with it.
What 1.0.2 was for still works: reply to a post and the toggle appears straight away, no reload, and the same when somebody else replies.
Nothing was written to the database, so the numbers correct themselves on the next page load after updating — there's nothing to repair.
I've also added tests for the counting itself, including your exact sequence, and they run in CI now. A wrong count renders perfectly — the panel opens, the replies inside it are right, and only the number is wrong — so there's nothing to notice by looking. That's how it got past me, and it shouldn't again.
composer update ernestdefoe/tributary
php flarum cache:clear
Thanks for catching it, and for the detail in the report — the "1 becomes 2 on reload" line is what made the cause obvious.