by the dozen

[by the dozen] or [by the hundred] or [by the thousand] {adv. phr.} Very many at one time; in great numbers.

Tommy ate cookies by the down.

Often used in the plural, meaning even larger numbers.

The ants arrived at the picnic by the hundreds.

The enemy attacked the fort by the thousands.