Fixed counter exception that crashes the pipeline
Merge pull request #183 from Wordseer/hotfix-counter

Fixed counter exception that crashes the pipeline