Fixed CVLFAB-719: UnboundLocalError: local variable 'count' referenced
before assignment