2
create a MySQL query in the php file responsible for showing that template.
the query should return the records in the database that have the parent id number same as the id number of the parent categories.
save the count results in an array and pass it to the template via smarty,
edit the template file and next to every category add the parentesis (), and inside the smarty variable that holds the subcategories count results for each category.
Thats only a rough idea on how you can do it! Hope it helps you a bit..
www.guidemap.gr - Beta is out...