An idiots dozen is a number, typically 9, that's used as a similar reference to a baker's dozen but referencing an idiot.
He ate an idiot's dozen of cupcakes.