#NEWLINE# def get_node_count( self , obj ) : #NEWLINE# #INDENT# auth = get_user_auth ( self . context [ 'request' ] ) #NEWLINE# nodes = [ node for node in self . nodes if ( node . can_view ( auth ) and node . primary and ( not node . is_deleted ) ) ] #NEWLINE# return len ( nodes )