code: func (obj *Field) GetCardinal(ctx context.Context) (int, error) {
  	result := &struct {
  		Return int	`json:"qReturn"`
  	} {}
  	err := obj.rpc(ctx, "GetCardinal", result)
  	return result.Return, err 
  }
docs: // Retrieves the number of distinct values in a field.