'As many as' would perhaps be better, Jeff (not 'as long as', which suggests a length of time); however, 'much' often appears in this type of situation, where the writer wishes to stress the total 'lump' quantity rather than the linear measurement.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.