             configure(cell: cell, forItemAt: indexPath, layoutOnly: false)
         }
         updateEmptyState()
-        readingListDetailExtendedViewController.updateArticleCount(readingList.countOfEntries)
+        readingListDetailUnderBarViewController.updateArticleCount(readingList.countOfEntries)
         collectionView.setNeedsLayout()
     }
 }

    }
}

// MARK: - ReadingListDetailExtendedViewControllerDelegate

extension ReadingListDetailViewController: ReadingListDetailExtendedViewControllerDelegate {
    func extendedViewController(_ extendedViewController: ReadingListDetailExtendedViewController, didEdit name: String?, description: String?) {
        dataStore.readingListsController.updateReadingList(readingList, with: name, newDescription: description)
        title = name
    }
    
    func extendedViewController(_ extendedViewController: ReadingListDetailExtendedViewController, searchTextDidChange searchText: String) {
        updateSearchString(searchText)
    }
    
    func extendedViewControllerDidPressSortButton(_ extendedViewController: ReadingListDetailExtendedViewController, sortButton: UIButton) {
        presentSortAlert(from: sortButton)
    }
    
    func extendedViewController(_ extendedViewController: ReadingListDetailExtendedViewController, didBeginEditing textField: UITextField) {
        editController.isTextEditing = true
    }


    
    override func apply(theme: Theme) {
        super.apply(theme: theme)
        readingListDetailUnderBarViewController.apply(theme: theme)
    }
    
    // MARK: - Batch editing (parts that cannot be in an extension)
