The node you are looking for is at
Maximum number of shadow textures
.