From a collection of Sentinel 2 images covering Sardegna island and acquired in summer 2016, a processing element that "counts" the available images pixel per pixel is created (p = coll.process().count(...)). Arguments of the count() method are the name of a band ("B11" in this example) and a divider (default value is 1). Then a color coding is applied using a predefined color scheme named "simple" or "rainbow".
The simple palette is defined as follows with x denoting the value of the divider: Red for x images, Green for 2x, Blue for 3x, Yellow for 4x, Magenta for 5x, Cyan for 6x, and White for 7x or more images. For example, if the divider is 2, all pixels displayed in white color (which is the 7th color of the palette) are zones where 14 (that is 7 multiplyed by 2) or more images are available.
map = Map()
map
coll = inter.ImageCollection("S2")
coll = coll.filterOnGeoName("Sardegna")
coll = coll.filterOnDate(2016,7,1, 2016,9,30)
coll = coll.filterOn("cloudcover", "<=", 5)
coll = coll.filterOn("jrc_filepath", "<>", "")
p = coll.process().count("B11",1)
p.colorScheme("Simple")
map.clear()
map.zoomToImageExtent(p)
tlayer = map.addLayer(p.toLayer())
Colors of two sample color palettes available: "simple" and "rainbow"