new map function to get the number of cartodb layers