     let pasteViewModel = PasteViewModel()
     
     @IBOutlet weak var collectionView: NSCollectionView!
+    @IBOutlet weak var countLabel: NSTextField!
 
     override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
         super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)!

//

import Cocoa

class PasteboardViewController: NSViewController, NSCollectionViewDataSource, NSCollectionViewDelegate, NSCollectionViewDelegateFlowLayout {


        collectionView.registerNib(textItemNib, forItemWithIdentifier: textItemCellID)
        collectionView.registerNib(imageItemNib, forItemWithIdentifier: imageItemCellID)

        pasteViewModel.pasteboardItems()
            .dispatchOnMainQueue().onChange { _ in self.collectionView.reloadData() }
        
        countLabel.reactiveHidden = pasteViewModel.pasteboardItems()
            .map { $0.count == 0 }

        countLabel.reactiveText = pasteViewModel.pasteboardItems()
            .dispatchOnMainQueue()
            .map { "\($0.count) items" }
    }

    // MARK: NSCollectionViewDataSource
