Try to make BackendStats more usable in generic fashion (to eliminate bdb-stats deps from CM)