Update counter.coffee

Added option to define collection name for counters