public function fetchUserCount($username, $show_group)
    {
        // Fetch user count
        $num_users = DB::forTable('users')
            ->tableAlias('u')
            ->whereGt('u.id', 1)
            ->whereNotEqual('u.group_id', ForumEnv::get('FEATHER_UNVERIFIED'));

        if ($username != '') {
            $num_users = $num_users->whereLike('u.username', str_replace('*', '%', $username));
        }
        if ($show_group > -1) {
            $num_users = $num_users->where('u.group_id', $show_group);
        }

        $num_users = $num_users->count('id');

        $num_users = Container::get('hooks')->fire('model.userlist.fetch_user_count', $num_users);

        return $num_users;
    }