code: def publish_schedule_length(self, redis_client, port, db):
          
          schedule_length = redis_client.zcard('schedule')
          self.__publish(port, db, 'schedule', schedule_length)
docs: :param redis_client: Redis client
          :param db: Redis Database index
          :param port: Redis port
          :return: Redis schedule length