     
     
     func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
+        return numberOfItems
+    }
+    
+    var numberOfItems: Int {
         guard let contentGroup = contentGroup else {
             return 0
         }

        return content[index]
    }
    
    private func configure(cell: UICollectionViewCell, forItemAt indexPath: IndexPath, layoutOnly: Bool) {
        guard let cell = cell as? ArticleCollectionViewCell else {
            return
        }
        guard let articleURL = articleURL(forItemAt: indexPath), let article = dataStore?.fetchArticle(with: articleURL) else {
            return
        }
        cell.configure(article: article, displayType: WMFFeedDisplayType.page, index: 0, count: 0, theme: theme, layoutOnly: layoutOnly)
    }
    
    // MARK - WMFColumnarCollectionViewLayoutDelegate
    

        }
    }
    
    private func displayTypeAt(_ indexPath: IndexPath) -> WMFFeedDisplayType {
        return contentGroup?.displayTypeForItem(at: indexPath.row) ?? .page
    }
    
    private func resuseIdentifierAt(_ indexPath: IndexPath) -> String {
        switch displayTypeAt(indexPath) {
        case .ranked:
            return "RankedArticleCollectionViewCell"
        case .story:
            return "NewsCollectionViewCell"
        case .event:
            return "OnThisDayExploreCollectionViewCell"
        case .continueReading:
            fallthrough
        case .relatedPagesSourceArticle:
            fallthrough
        case .random:
            fallthrough
        case .pageWithPreview:
            return "ArticleFullWidthImageCollectionViewCell"
        case .photo:
            return WMFPicOfTheDayCollectionViewCell.wmf_nibName()
        case .pageWithLocation:
            return WMFNearbyArticleCollectionViewCell.wmf_nibName()
        case .page, .relatedPages, .mainPage, .compactList:
            return "ArticleRightAlignedImageCollectionViewCell"
        case .announcement, .notification, .theme, .readingList:
            return "AnnouncementCollectionViewCell"
        }
    }
    
    private func articleURL(forItemAt indexPath: IndexPath) -> URL? {
