     fileScrollView.autoSetDimension(.height, toSize: 200, relation: .greaterThanOrEqual)
 
     cwdControl.autoPinEdge(.top, to: .bottom, of: fileScrollView, withOffset: 4)
-//    cwdControl.autoPinEdge(toSuperviewEdge: .bottom)
     cwdControl.autoPinEdge(toSuperviewEdge: .left, withInset: 2)
     cwdControl.autoPinEdge(toSuperviewEdge: .bottom, withInset: 4)
-
-//    countField.autoPinEdge(toSuperviewEdge: .bottom)
-    countField.autoPinEdge(.top, to: .bottom, of: fileScrollView, withOffset: 4)
-    countField.autoPinEdge(toSuperviewEdge: .right, withInset: 2)
-    countField.autoPinEdge(.left, to: .right, of: cwdControl, withOffset: 4)
   }
 }
 

    cwdControl.cell?.font = NSFont.systemFont(ofSize: NSFont.smallSystemFontSize)
    cwdControl.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)

    let countField = self.countField
    countField.isEditable = false
    countField.isBordered = false
    countField.alignment = .right
    countField.backgroundColor = NSColor.clear
    countField.stringValue = "0 items"

    let contentView = self.window.contentView!
    contentView.addSubview(searchField)
    contentView.addSubview(progressIndicator)
    contentView.addSubview(fileScrollView)
    contentView.addSubview(cwdControl)
    contentView.addSubview(countField)

    searchField.autoPinEdge(toSuperviewEdge: .top, withInset: 8)
    searchField.autoPinEdge(toSuperviewEdge: .right, withInset: 8)

      DispatchQueue.main.async {
        guard localToken == self.scanToken else { return }
        self.unsortedScoredUrls.append(contentsOf: scoredUrls)
      }
    }
  }
