Fix use of non-exist variable 'count'

Fixes shell error:
""bash: 46 / : syntax error: operand expected (error token is "/ ")