func (c *counter) Count() int64 {
	return c.self.Count()
}
Count returns the number of the counter.
package aura
import (
	"fmt"
	"time"
	"github.com/rcrowley/go-metrics"
)
type Counter interface {
	Collector
	Clear()
	Count() int64
	Rate() float64
	Dec(int64)
	Inc(int64)
}
type counter struct {
	*Desc
	prev     int64
	self     metrics.Counter
	labels   map[string]string
	interval time.Duration
}
type CounterVec struct {
	*Desc
	counters map[string]*counter
	interval time.Duration
}
func (c *counter) popMetric(desc *Desc) Metric {
	cnt := c.self.Count()
	m := Metric{
		Endpoint:  c.labels["endpoint"],
		Metric:    desc.fqName,
		Step:      desc.step,
		Value:     c.Rate(),
		Type:      GaugeValue,
		Labels:    c.labels,
		Timestamp: time.Now().Unix(),
	}
	c.prev = cnt
	return m
}
func (c *counter) Inc(i int64) {
	c.self.Inc(i)
}
func (c *counter) Dec(i int64) {
	c.self.Dec(i)
}
func (c *counter) Clear() {
	c.self.Clear()
}