i want to get count of subcategories
of main category in template index file. category id
will be show during com_content
blog layout call
how can i run query to get count of subcategories of main category
i have tried following code but still not success