Here's an example of how to display the number of products in a collection in the collection page link set in the header (drawer) menu of the Shopify theme "Dawn".

[How to set it up] Insert the code next to the code that displays the menu name in each menu file: "header-dropdown-menu.liquid", "header-mega-menu.liquid", and "header-drawer.liquid".

