The quantity of money is both nebulously defined, and also has absolutely nothing to do w/ price level; it's all spending relative to output capacity.
Naturally, it is monetary mass coupled with circulation speed. If you change the monetary mass and no other economic variable, within the tolerance envelope, circulation speed will adapt and price levels won't budge. Exceed tolerance levels, and you will influence price levels.
You saw this applied in practice recently. Quantitative easing is a correction using monetary mass to an abnormal reduction in circulation speed (via reduced lending).
That only matters if those dollars are being spent and remain in the flow of funds. Say the Treasury printed a few trillion dollar notes and buried them in a hole, it's not going to affect the price level any (aside from the real resources used).
What was cool about the Real story is that they mostly managed to stop inflation without the normal period of distress. This was super important because I believe the Brazilian central bank doesn't have the Fed's level of independence and probably wouldn't have been able to do it the hard way without being stopped.