Not possible, unless you wanna buy VBS1 (which has that function). I would suggest creating game logics, then moving them into the vehicle's cargo. See how many you can move in this way, then just count them up and add the current number of units in cargo.