bucket: initial per-backend bucket stats implementation