Counting raster bands