No problem :-)
int(random(maxSpriteNo))+1 returns a random number of sprites to spawn and works as follows:
-"maxSpriteNo" is the maximum number of sprites you want to spawn.
-"random(maxSpriteNo)" generates a random float between 0 and maxSpriteNo, not including maxSpriteNo.
-"int(random(maxSpriteNo)" removes any numbers after the decimal point of the randomly generated float, returning just the whole number - it's important to note that "int" doesn't round up, so 0.999999 will still return 0.
-By this stage we will have whole number between 0 and maxSpriteNo-1, so we add 1 to provide a number between 1 and maxSpriteNo.