In a rocket science laboratory, there were originally 40 components. However, due to an experiment, 29 components were used up and are no longer available. Afterward, the laboratory received a new delivery with an extra 47 components. what is the total number of components in the laboratory now?