I think some more clarification would help get a more suitable answer. Like others have said, are you searching for a specific value which is dynamically generated? are you always just looking for a value of 59? are you looking for that total b/c of the name on the object. I think you see what i mean, since there are several very simple ways to do this, however if you are handling dynamic data it makes things somewhat more complicated
data[1].total?