As part of a class project, mesut 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?