Total spending for Halloween is expected to reach $9 billion, according to a new study from the National Retail Federation (NRF), the second highest in the survey’s 14-year history. The figure is relatively the same as last year’s previous record of $9.1 billion.

“The economy is good and consumer confidence is high, so families are ready to spend on Halloween this year,” NRF President and CEO Matthew Shay says. “Retailers are stocking up to supply children, pets, and adults with their favorite decorations, candy, and costumes for the season.”

According to the survey, consumers plan to spend $3.2 billion on costumes (purchased by 68 percent of Halloween shoppers), $2.7 billion on decorations (74 percent), $2.6 billion on candy (95 percent), and $400 million on greeting cards (35 percent).

Among Halloween celebrants, 70 percent plan to hand out candy, 50 percent will decorate their home or yard, 48 percent will wear costumes, 45 percent will carve a pumpkin, 32 percent will throw or attend a party, 30 percent will take their children trick-or-treating, 21 percent will visit a haunted house, and 18 percent will dress pets in costumes.

Pet costumes continue to gain popularity, with nearly 20 percent of celebrants planning to dress their pets in costumes this year, up from last year’s 16 percent.

The study also found the top costumes for children and adults. This year, the top ten children’s costumes will be a princess, a superhero, Batman, a Star Wars character, witch, Spider-Man, an Avengers character (excluding Spider-Man), a ghost, a pirate, and a Frozen character.

The top ten adult costumes will be a witch, a vampire, a zombie, a pirate, an Avengers character (excluding Spider-Man), Batman, a Star Wars character, a ghost, a superhero, and a clown.