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

        self.features_.append(feature)
        self.num_features_ = len(self.features_)