aggregate bucket stats recursively and add stats to cmd