def rank(self, member):
        if self.reversed:
            return self._client.zrevrank(self.key_prefix, self._dumps(member))
        return self._client.zrank(self.key_prefix, self._dumps(member))