The phrase "dozen upon dozens" is an idiomatic expression that means a large number or abundance. It implies that there are many, many things in great quantity or multitude. The term comes from the fact that a dozen refers to twelve and when you add more than one dozen it becomes dozens, meaning multiple of twelve. So "dozen upon dozens" literally means hundreds or thousands, but figuratively it implies an abundance or excessive amount of something.