Nearly 180,000 retail jobs were last year, up by almost a quarter on the previous year, analysts say.