Does the word "dozen" have the same definition in the next two sentences?

There shouldn't be more than two dozens.

Pack the shirts in dozens, please.
the same meaning