I did just find a way to show the number of entries in a category listing by using an embedded template, combining a recent discovery with this information. (I’m not sure whether or not embedded templates are available in the Core version of EE.) I attempted to place this code on a single template, but it requires passing a variable to work, thus an embedded template provides the answer.
Code Snippet for Main Page
{exp:weblog:categories weblog="weblog" style="linear"} {!-- optionally include category_group=id here --}
<h2>{category_name}</h2>
{embed="weblog/_listings5" my_cat="{exp:weblog:entries limit='1'}{categories}{category_id}{/categories}{/exp:weblog:entries}"}
{/exp:weblog:categories}
Embedded Template (called _listings5)
{exp:weblog:entries weblog="weblog" category="{embed:my_cat}" dynamic="off" orderby="title" sort="asc" }
{categories show="{embed:my_cat}"} {!-- this deals with entries having multiple category assignments --}
{if count == "1"}total entries= {total_results}{/if}
<p></p>
{/categories}
{/exp:weblog:entries}
This is a mere shrinking-down of my code used in the Wiki entry “Displaying Sub-categories and Grouping Them By Custom Category Field”, and adds the snippet of code from the other wiki entry mentioned above to the embed template, which is a stripped down version not displaying any content. Hey, it works!
Terry