In England and Scotland in 1788, two-thirds of the workers in 143 water-powered cotton mills were described as children.