'Count and smooth feature occurrences.'

def _count(self, X, Y):

    if (self.binarize is not None):
        X = binarize(X, threshold=self.binarize)
    self.feature_count_ += safe_sparse_dot(Y.T, X)
    self.class_count_ += Y.sum(axis=0)
