Let n be a natural number. We obtain convolution-type formulas for the total number of parts in all partitions of n of several different kinds.