The volume of a quarter coin is 808.53 mm cubed (assuming it's not worn thin). In theory you could fit 1000 000 /808.53 = 1236.81 quarters in a litre. However, that assumes you can fill all the space and you can't do that because of the fixed cylindrical shape of the quarters. You would have to look at how many coins would fit in your particular shape.