# Zähler für übergeordnete Kategorie

**URL:** <https://meta.discourse.org/t/parent-category-counter/94635>\
**Category:** Product Support\
**Created:** [13. August 2018 um 19:53 UTC](https://meta.discourse.org/t/parent-category-counter/94635 "2018-08-13T19:53:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [20. August 2018 um 15:36 UTC](https://meta.discourse.org/t/parent-category-counter/94635/8 "2018-08-20T15:36:09Z")

</div>

> [@itsbhanusharma](#):
>
> Counts are okay on a category but as soon as you add a sub category to it, the count changes to zero! right? or am I missing something here?

That is not entirely correct.  
It does not “change to zero” , it only counts the topics in the subcategories, in this specific case there are no topics that are directly in the category itself.

I can reproduce this on stable, but indeed I’m not able to reproduce on tests-passed.

---

_[View the full topic](https://meta.discourse.org/t/parent-category-counter/94635)._
