#NEWLINE# def cols( self ) : #NEWLINE# #INDENT# if ( not self . shards ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# cols = sum ( [ cv [ 2 ] for cv in self . shards [ 0 ] [ 1 ] ] ) #NEWLINE# assert isinstance ( cols , int ) #NEWLINE# return cv