As a part of a class project, meant collected $126 in donations for a local hospice. That amount was 7% of the total amount collected by the class. How much money did the class collect in all?