for(var/i=0, i <= 5, i++)
numbersomething += Objlist[i].something // this adds a global or just a mob's variable by the object's "something" var. The object is #i in the array.
I apologize if this is too vague, but hopefully the basic question gets through.