added new function to work metrics, sometimes you want to reset a counter but do not want to remove it from metrics