#NEWLINE# def _count_messages( self , uid ) : #NEWLINE# #INDENT# select_query = 'select count(*) from message where account = ? and folder = ? and uid = ?' #NEWLINE# return single_result ( self . _execute ( select_query , ( self . _account . name , self . name , self ) ) )