All in one sitting. You get one condiment of choice, and a large glass of water. Bills can be torn up before consumption but nothing is stopping you from housing full Benjamins and digging for gold in the bathroom later. I think I could probably eat at least 10, and I would pick BBQ sauce.
Do you really think you could fold it to the size of a pill though? I think that would be a hard pill to swallow.
I’m pretty sure they successfully did this on one of the lost episodes of Mythbusters.