'Internal method to strip elements with a negative or zero count'

def _keep_positive(self):

    nonpositive = [elem for (elem, count) in self.items() if (not (count > 0))]
    for elem in nonpositive:
        del self[elem]
    return self
