MutableMetric::snapshot(MetricsRecordBuilder& builder, bool all = false)
Make MutableCounter a template class.