#NEWLINE# def get_row_count( self ) : #NEWLINE# #INDENT# ' Return the number of rows for this table. ' #NEWLINE# if ( self . rows is not None ) : #NEWLINE# #INDENT# count = len ( self . rows ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# count = len ( self . data ) #NEWLINE# #UNINDENT# return count