Render hat count with rarity in the trade menu.