We can easily get any statistics we want about the distribution of pixel values: the percentage of pixels over or under certain values, histogram peaks, and so on. But what do we do with that data?
When I worked in film, I thought in terms of stops, with lighting, camera, film processing and printing. Underexposure was always the enemy.
With digital, stops are still important, but the major enemy is photographic overexposure, the dreaded clipping of highlights. If the camera is good and the lighting isn't diabolical, the shadows will take care of themselves.
In post, we need to prevent clipping at either end but anything else goes. I don't worry about stops in post. I care about tones and saturation and hues and contrast levels and sharpness at different parts of the image, and stops as measurements are too crude to be of much help.
From that link:
If Shift-A is pressed, or Menu – View – Auto Exposure Correction is enabled, and default settings are used, FastRawViewer calculates and applies automatic exposure correction in such a way, that 1% of the total amount of pixels in the image are pushed to saturation (receive the value of 255 on the 8-bit scale).
In a photograph, 1% of the image is an awful lot. An area one-tenth of the total width and one-tenth of the total height is 1% of the image, and very noticeable. Sure, that software lets the user change the percentage, but what is the point of saturating any pixels?
The thought of software automatically creating saturation (aka clipping) fills me with horrors.
Digitally, automatically, we can spread the tones to use the full range available without clipping ("-auto-level"). Nothing wrong with that. And then we have a wealth of tools available to automatically or manually adjust the image either for technical accuracy or aesthetic quality or anything else.
If an automated process is to simply correct "over exposure" or "underexposure", it needs to know what the "correct" exposure is. It may be different in different parts of the image. But changing the exposure will change all the tones together, where we are more concerned with relative tones, and hence contrast.
Sorry, this turned into a ramble. What was the question again?