Displaying Discourse Variables on Other Pages

Basically, I’m writing a plugin to display board statistics on the bottom of the forum, similar to what vBulletin does.

So far, I have this:
SiteStats

In my plugin directory, my /assets/javascripts/discourse/components/site-stats.hbs is the following:

<div class="board-statistics-headrow">{{d-icon "far-chart-bar"}}  {{i18n 'about.stats'}}</div>
<div class="board-statistics-row">
  Threads: {{number model.stats.topic_count}}  Posts: {{number model.stats.post_count}}  Members: {{number model.stats.user_count}}>
</div>
</div>

I grabbed the {{number model.stats.topic_count}} from the about.hbs file inside the Discourse GitHub repository.