In reply to someone looking to model rocks as currency I wrote an initial study toward the problem:
The basic trick to it is that there aren’t an enormous number of real objects, but each has a number called the quantity. But as I said there, it leaves a lot undone and the remainder right would be tricky.