Article Count for every category in sidebar of listing/category page

Dear Michael Telgmann,

Thank you for the reply, I have got two clues from your suggestions, I am mentionaing it below:

* sCategories::sGetCategoryIdByArticleId function use now the s_articles_categories table.
 * We have to extend the sCategories variable. Which means you have to change the result of the sCategories::sGetCategories() method.
 

Can you please help me to implement it, I don’t need complete code, just need to know how to extend sCategories class in my plugin or template.  I can see sCategories class returns $category array which has all info about category but not article count. Please reply me with a hint.

Thank you.