Not sure I am following your question. Do you simply want to split data into equal sized pieces numbered 5 to 10?
You can use the random() function to generate a random number, and then a simple select node to pick records.
For example, in a derive node type;
(random0(5) + 5)
-> this will craete a random number from 0 to 5 and then just add 5 (so random number will be between 5 and 10)
Then you will have random allocation of a value 5-to-10 on each record. You can then select records with a simple select node.
Cheers
Tim