Catalogs a sample.

def _record(self, value, rank, delta, successor):
        """Catalogs a sample."""
        self._observations += 1
        self._items += 1

        return _Sample(value, rank, delta, successor)