Return the number of gray colors supported by DISPLAY's terminal. A color is considered gray if the 3 components of its RGB value are equal.