Know how to use "fewer" and "less"? Find out.
Old English grist "action of grinding, grain to be ground," perhaps related to grindan "to grind" (see grind), though OED calls the connection "difficult." Meaning "wheat which is to be ground" is early 15c.; the figurative extension from this sense is from the same date.