check the number of spatial layer for screen content