To make the rollout of the new user menu smoother, we’ve temporarily reinstated the old persistent flag count on the hamburger menu when navigation mode is “legacy”.
https://github.com/discourse/discourse/commit/fc3c737a7f1f921be712f7e9b590817508562414