func New(format string) *Module {
	m := &Module{}
	l.Register(m, "format", "count")
	m.count.Set(0)
	m.format.Set(format)
	return m
}
New constructs a new counter module.
package counter  
import (
	"barista.run/bar"
	"barista.run/base/value"
	l "barista.run/logging"
	"barista.run/outputs"
)
type Module struct {
	count  value.Value  
	format value.Value  
}