The extent and cost of waterlogging