<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def zpopmax(self, key, count=None, *, encoding=_NOTSET):
 """Removes and returns up to count members with the highest scores in the sorted set stored at key. :raises TypeError: if count is not int """

        if count is not None and not isinstance(count, int):
            raise TypeError("count argument must be int")

        args = []
        if count is not None:
            args.extend([count])

        fut = self.execute(b'ZPOPMAX', key, *args, encoding=encoding)
        return fut