To go back to the original confusion... the word Banana Lord wanted wasn't function, but variable. What Winterbay attempted to do was add one to the int variable named amounts if item_amount was greater than 0. In that case, whether it was added before or after didn't matter, as it was merely incrementing the variable, not using it inline.
The problem with this is that it didn't meet the original need, which was finding out how many total foldables existed, and so using the += item_amount as Veracity suggested gives a more accurate value.
All of the rest of this fell out of Banana Lord's describing the line
-- which doesn't work currently but which would have been the equivalent of
if the code had interpretters for it in place -- as a function.
Edit: Also, food helps. The explanation you have made perfect sense... while "ash int number = 5; number.plusplus();" would return 6, "ash int number = 5; number.plusplus(); print(number);" would return 5, as the value of number hasn't actually been changed, unlike a proper implementation of ++.