you need to hand code logic that will look at the number of cart items:
["num_cart_items"]=> string(1) "1"
and then loop through to crate the correct number of variables.
if you need further assistance in creating this, I would suggest signing up for a premiere support appointment where we will work with you one on one.