added counter support
Merge branch 'master' of github.com:bertramdev/timeseries-gorm