'Get sizes of non empty queues'

@property
def counts(self):

    counts = {}
    for name in self.queues:
        n = len(self.queues[name])
        if n:
            counts[name] = n
    return counts
