'Umpty' first appeared as military slang 100 years ago, meaning an indefinite - but large - number. It was used particularly in the Royal Navy in much the same way as 'x' is used in mathematics to represent an unknown quantity. Over time it became 'umpteen' with obvious connections with thirteen, fourteen etc.