Only count toggleable layers in numberOfLayers