i hate discussion tabs, since no one sees them if you dont go to a page
so i wrote a plugin that creates a separate thread in a different forum, and displays them nicely under the discussion tab when the tab is clicked.
but i would like to use that post counter for the tab: ie Discussion
there for my question is:
Where is the code located that calculates the number of posts made to a discussion thread?