code: function (klass, name) {
        var records = this.getRecords(klass, name);
        var typeToSend;
  
        typeToSend = {
          name: name,
          count: _emberMetalProperty_get.get(records, 'length'),
          columns: this.columnsForType(klass),
          object: klass
        };
  
        return typeToSend;
      }
docs: Wraps a given model type and observes changes to it.
  @private
  @method wrapModelType
  @param {Class} klass A model class.
  @param {String} modelName Name of the class.
  @return {Object} Contains the wrapped type and the function to remove observers
  Format:
  type: {Object} The wrapped type.
  The wrapped type has the following format:
  name: {String} The name of the type.
  count: {Integer} The number of records available.
  columns: {Columns} An array of columns to describe the record.
  object: {Class} The actual Model type class.
  release: {Function} The function to remove observers.