Added total to stats script.