Improve statistics calculations and add more information.
Improve statistics calculations and add more information.