code: func CreateAggregateFromMessageCountMap(m MessageCountMap) Aggregate {
  	if m == nil {
  		return nil
  	}
  	result := make([]error, 0, len(m))
  	for errStr, count := range m {
  		var countStr string
  		if count > 1 {
  			countStr = fmt.Sprintf(" (repeated %v times)", count)
  		}
  		result = append(result, fmt.Errorf("%v%v", errStr, countStr))
  	}
  	return NewAggregate(result)
  }
docs: // CreateAggregateFromMessageCountMap converts MessageCountMap Aggregate