Utilities class for statistics