add counter metrics