The world's largest arts festival, which fills the Scottish city every August, featured 3,334 shows in 2022.