More than 6,700 people of all ages and abilities across Portsmouth, Bournemouth and East Dorset took part in swimming lessons.