Factory Flow Simulation - Simulation of the behavior of an AGV

In a simulation of this type (photo attached), how do you take for example 5 elements from the IN ZONE, and unload 3 elements from OUT ZONE?

Edu 3DEXPERIENCE DELMIA