<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def spop(self, name, count=None):
 """ Remove and return a random member of set ``name`` ``count`` should be type of int and default set to 1. If ``count`` is supplied, pops a list of ``count`` random + members of set ``name`` """

        if count and isinstance(count, int):
            return await self.execute_command('SPOP', name, count)
        else:
            return await self.execute_command('SPOP', name)