Bayesian total loss estimation using shared random effects