Suppose the heap has actually been measured at 8 qafiz. The seller specifies all 8 at one dirham each, giving an aggregate price of 8 dirhams.
The exception in Quduri's clause is precisely the statement of the total number of measures, which removes the relevant uncertainty.
The number eight is an illustration, not a number appearing in the original text.