the number of different colors in an image