!D.Table_Size

This field contains the number of color table indices available on the device. Devices without color tables have this field set to 0.