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