No, you have to do a foreach with a count, example: foreach(on the array)->branch->cast to potion->success->count = count + 1(or count++).
No, you have to do a foreach with a count, example: foreach(on the array)->branch->cast to potion->success->count = count + 1(or count++).