def qsize(self):
        """
        Returns the number of items currently in the queue

        :return: Integer containing size of the queue
        :exception: ConnectionError if queue is not connected
        """
        if not self.connected:
            raise QueueNotConnectedError("Queue is not Connected")

        try:
            size = self.__db.llen(self._key)
        except redis.ConnectionError as e:
            raise redis.ConnectionError(repr(e))
        return size
Returns the number of items currently in the queue

        :return: Integer containing size of the queue
        :exception: ConnectionError if queue is not connected