#NEWLINE# def zcard( self , key ) : #NEWLINE# #INDENT# 'Return the number of elements in the sorted set ``key``' #NEWLINE# offset = self . get_node_offset ( self ) #NEWLINE# return self . servers [ offset ] . zcard ( key )