You guessed it: The rich are getting richer. And — shocker! — they are having a pretty good time spending their money.

The ultrarich shattered many records last year, buying notable works of art, shiny baubles and sleek toys. A rare 1967 Ferrari Spider went for $27.5 million. Francis Bacon’s “Three Studies of Lucian Freud” sold for $142.4 million. And 12 bottles of 1978 Domaine de la Romanée-Conti, described by one expert as “as close to perfect as wine gets,” landed in someone’s collection for a cool $476,405.

The world’s club of ultrawealthy individuals, or those with $30 million or more in net assets, added about 5,000 new members last year and now stands at around 167,000, according to the latest Wealth Report, an annual compendium of all things rich from Knight Frank, the property management firm.

Over the last decade, the ranks of the über-rich have swelled by 59 percent, and the register of billionaires climbed 80 percent, to 1,682, according to Knight Frank’s data.