code: def status_count(self, project):
          '''
          return a dict
          '''
          pipe = self.redis.pipeline(transaction=False)
          for status in range(1, 5):
              pipe.scard(self._gen_status_key(project, status))
          ret = pipe.execute()
  
          result = {}
          for status, count in enumerate(ret):
              if count > 0:
                  result[status + 1] = count
          return resulf status_count(self, project):
          '''
          return a dict
          '''
          pipe = self.redis.pipeline(transaction=False)
          for status in range(1, 5):
              pipe.scard(self._gen_status_key(project, status))
          ret = pipe.execute()
  
          result = {}
          for status, count in enumerate(ret):
              if count > 0:
                  result[status + 1] = count
          return result
docs: return a dict