TAttributesSet::GetAttributeChannelCount

Returns the number of indices for the attribute with the given name