protected function handleItemsCount($item)
    {
        if ($item->route
            && 'scaffold.index' === array_get($item->route, 0)
            && $module = array_get($item->route, '1.module')
        ) {
            $module = app('scaffold.module.'.$module);

            if ($count = $module->appendCount()) {
                $item->count = $count;
            }
        }

        return $item;
    }