Good day,
In v.0.7.1 & v.0.7.2 correctly count posts in old structure of sub category.
But if create new category & create post in sub category - counter didn't "see" posts in subcategory & didn't preview posts in main page.
Bug report in git - https://github.com/NodeBB/NodeBB/issues/3368