At the grocery store, I find produce sold by the pound, by the bag, and "by the each". I would never say produce was priced by the piece or by the item.
Where does this come from? Each is not a noun, which deserves an article.
This question asks if it is grammatical. To me, the usage is common, and I accept it. I am asking where it comes from.