Fixed total count for child categories.

Previously the count for child categories were not included in the root category. Functionality now matches that of default theme.