public function index_stats() { if (empty($this->stats)) { $this->get_stats(); } return array($this->user->lang['FULLTEXT_POSTGRES_TOTAL_POSTS'] => $this->index_created() ? $this->stats['total_posts'] : 0); }