def __add__(self, other):
        '''Add counts from two counters.

        >>> Counter('abbb') + Counter('bcc')
        Counter({'b': 4, 'c': 2, 'a': 1})

        '''
        if not isinstance(other, Counter):
            return NotImplemented
        result = Counter()
        for elem, count in self.items():
            newcount = count + other[elem]
            if newcount > 0:
                result[elem] = newcount
        for elem, count in other.items():
            if elem not in self and 0 > count:
                result[elem] = count
        return result
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/collections.py/Counter.__add__/swapped operands of `>`