added a total to counter metrics