printing the total garbage collected