code: def rpush(self, key, *args):
          
          redis_list = self._get_list(key, 'RPUSH', create=True)
  
          # Creates the list at this key if it doesn't exist, and appends args to it
          redis_list.extend(map(self._encode, args))
  
          # Return the length of the list after the push operation
          return len(redis_list)
docs: Emulate rpush.