I’m not sure what levels you’re talking about. Sorry if I missed a key point.
You are correct, you would just change the 10 to change the delay.
Math.floor((index – 1)/3)
just groups the layers into groups of 3. The result will be that layers 1 through 3 will be in group 0, layers 4 through 6 will be in group 1, etc. The expression then uses that value to calculate the delay for each layer (the delay for layers 0 through 3 will be zero, for layers 4 through 6 it will be 10 frames, etc.)
Dan