The problem is that you need access to the message_count for the forum.
I actually tried to make this work without an addon before I replied. The $renderedNodes are available on the index page, but they are rendered forums not forum records. You can't index into them and access the counts for individual forums. An addon is required to get the count for use in the sidebar.