Can math prove that Humpty Dumpty was simply mismanaged?

Wait 5 sec.

Humpty Dumpty had all the king's horses and all the king's men, but it wasn't enough to put him back together again. This raises the question: How many horses and men did he actually need?