(GET-PALETTE-SIZE)

Returns the number of entries in the palette.