We fixed the problem. This was a tricky issue and I took some time to understand what was going on. The point was that you added to the comma-separared list (macro = subapps_with_hidden_topics) subapps that are private, which naturally don't show topics at the root level. So the topic count was decrementing private topics twice. The math is simple:
(number of visible topics) - (number of topics found in the comma-separared list)
"number of visible topics" already skips private topics, so we shouldn't consider the private subapps in the comma-separated list when calculating the total value. In any case, we fixed the NAML code that does this math and it automatically skips private topics. So you don't have to worry about this when you edit the list of subapps in that macro. Questions?