histfactory: add total functions to get yields and uncertainties