adding hopefully working moment counting logic
Merge branch 'master' of github.com:slayoo/libcloudphxx