by the piece
by the piece {adv. phr.}
Counted one piece at a time, separately for each single piece.
John bought boxes full of bags of potato chips and sold them by the piece.
Mary made potholders and got paid by the piece.
Categories:
Source: A Dictionary of American Idioms