The data shows that over 5,000 extra beds were brought into service to cope with demand