JSHint - semi-colon missing
Added counter