Added function to get minified class name based on counter number