<?php echo_osc_catergories;?> <?php echo osc_category_total_items() ; ?>
First, you have to be more careful. It's not only that your php syntax is totally wrong, is that you wrote "cate
rgories".
The function chosen_select_standard() is right, if you see wrong numbers might be because your stats are not being updated by the Osclass cron job. Check in your Admin Dashboard / Settings, "Automatic cron process", that should be checked. To update the stats manually go to Show More menu / Tools / Category Stats
And the header part, you changed the wrong line. The line 55 is for parent categories, for subcategories replace line 59:
<li class="<?php echo osc_category_slug() ; ?>"><a href="<?php echo osc_search_category_url() ; ?>"><?php echo osc_category_name() ; ?></a></li>
with:
<li class="<?php echo osc_category_slug() ; ?>"><a href="<?php echo osc_search_category_url() ; ?>"><?php echo osc_category_name(). ' (' . osc_category_total_items() . ')' ; ?></a></li>
Regards