In javascript?
I'm not quite an expert but, if you set up a while loop:
totals:int = 0; for(i=0;i<return[...].users.lenght;i++){ totals = total + return.users[i].total; }
Not working?