Not really, unless you measure throat erosion (for rifled barrels), and even that isn't an accurate indicator, without a "base point of reference" (although it might tell you if it's seen a lot of action).
The thing of it is, # of rounds through a firearm doesn't really devalue a firearm if it's been cared for and maintained properly. Exterior wear, mechanical wear (looseness of mechanical parts), and so on are all devaluating factors.
Trading guns in is like trading cars in. People selling used guns will usually give them the cleaning of a lifetime to make sure they get top dollar. It's a safe bet if you shine a light down the barrel and see lead and / or copper deposits, or look in to the action and see grit, that the previous owner didn't take good care of the weapon.
Things that wear on semi-auto handguns are numerous. But I've got two specimens here which have OVER 30,000 rounds through them (I know, because I shot all of them). The handguns still look new. And they still feel new, because I have replaced worn parts along the way - main springs, trigger springs, worn extractor, worn mag release springs, etc. (One is a Glock 21 in 45ACP, the other a Ruger P95 DC 9mm).
Some people will look at the barrel (chamber end) and on the top of the barrel, where the barrel and slide interact, will see wear, and think it's a reliable indicator of # of rounds fired. It's not. I've had brand-new Springfield XD's have top of the barrel ( exterior of the chamber) get noticeably worn prior to sale just by working the action / dissassembling!
So when buying a semiauto handgun, check;
Is the action tight (does the slide wiggle excessively, if so someone did a bad "tune" job or shot the heck out of it without regularly oiling it)
Are the springs strong? (Springs will wear out over time, good idea to have an armorer regularly replace mainsprings, trigger springs, and any other "consumables")
Does everything that has a function, function properly (mag release, safety, decocker, etc)
Is there excessive finish wear? (i.e. does it look like someone has scrubbed rust off in the past?)
Are the sights secure? (I've seen sights on Glocks and other firearms get "loosened" over time, not always an easy problem to fix)
Is there excessive leading and or copper deposits in the barrel?
Just a few things, but some of the key ones above.