added some static functions to retrieve simple statistics