code: def get_context_data(self, **kwargs):
          
          context = super(IndexView, self).get_context_data(**kwargs)
          visiblity_content_tree = context['forums']
  
          # Computes some global values.
          context['total_posts_count'] = sum(n.posts_count for n in visiblity_content_tree.top_nodes)
          context['total_topics_count'] = sum(
              n.topics_count for n in visiblity_content_tree.top_nodes
          )
  
          return context
docs: Returns the context data to provide to the template.