Uh, I think I understand...
You can use "count" to know how many instances of an object there are.
I would create a random number between 1 and the sprite.count, for the first number, the second would be a number from 1 to the sprite.count minus the first number, then split it again, or use the remainder as the last number.