XYZ glass factory consigned 250 boxes of glass for shipment. The contract stated that the freight would be $20 per box. If a box is damaged on the way, the factory does not need to pay the freight for that box as well as gets compensated for $100. At the end, the freight totally came to $4,400. How many boxes of glass were damaged in the shipment?