[Bugfix] Catalog.js - counter length