Depends on the resource and context. Unless I intend to emphasize survivalism, crafting, or "a person out of time" scenario, I am not counting your bullets, arrows, spell components (unless the spell component is intended as a clear balancing measure for the spell) or things which I collectively call "rope, soap, and dope". I don't have time for that. I also don't have time for the archer or spellcaster whining that they can't do what they are supposed to do but the melee guys are okay because "swords don't run out" (nor do I have the inclination to track something like the sword getting busted because they finally greased their 100th monster). Unless, that's the point of the scenario. But, I don't do a lot of those scenarios or I do it sparingly within another scenario because I personally don't like that and if I wanted to do accounting, I can go to the office. That being said, I'm not giving you free hp, forgetting that you cast that spell, or pretending that new sword you bought was free.
However, ultimately, hitpoints, spells, potions, equipment, money, etc. are a resource, and you manage it. D&D has always been a resource management game, and many other games follow suit, even if they just call the resources different things. It's really about how micro you want to go. I can see why other people might enjoy going micro enough that it's like running a stockroom at Home Depot. I would say to those folks that automation is your friend.