add description of catalog counter statistics
make catalog statistics update and readout DRY
generate catalog statistics (work in progress: nested catalog aggregations are missing)