<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extend(self, features):
 """ Add a list of features to the bag. Parameters feature : :obj:`list` of :obj:`Feature` features to add """

        self.features_.extend(features)
        self.num_features_ = len(self.features_)