The entirely unsatisfying answer is, "As much or as little as I have to."
I haven't run a 5e adventure, but I imagine that would require a LOT. Part of this can't be helped, because in any long campaign, you're going to have to be more flexible to account for the unexpected and accommodate your players. The other part of it is that D&D's design philosophy seems to be "eh, fuck it, if it's broken, people will just blame the DM and say it's their responsibility to fix it." A part of this is the entire CR system (in a game that focuses so heavily on balanced combat encounters, no less), so I'm not surprised that tinkering with combat counters is so necessary and so frustrating.