This is getPaletteCount, a member of class OdDgMaterialTableExtXAttribute.
OdDgMaterialTableExtXAttribute Methods