Figures reflect the rise of online shopping and the pandemic, but the rate of closures is slowing.