Case 2759 - Fixed local counter.
Merge branch 'case-2759' into easy

* case-2759:
  Case 2759 - Fixed local counter.