Break a collection into equal groups, select the required groups, and connect the model to the calculation.