Fix HTML of index page and add number of pages for each category