Refactored counter
Merge remote-tracking branch 'origin/dev'