#NEWLINE# def count( self , project ) : #NEWLINE# #INDENT# if ( project not in self . projects ) : #NEWLINE# #INDENT# self . _list_project ( ) #NEWLINE# #UNINDENT# if ( project not in self . projects ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# tablename = self . _tablename ( project ) #NEWLINE# for ( count , ) in self . _execute ( ( 'SELECT count(1) FROM %s' % self . escape ( tablename ) ) ) : #NEWLINE# #INDENT# return count