#NEWLINE# @ property #NEWLINE# def annotated_field_name( self ) : #NEWLINE# #INDENT# field_name = self . field_name #NEWLINE# if field_name . endswith ( '__count' ) : #NEWLINE# #INDENT# ( agg , _ , _ ) = field_name . rpartition ( '__' ) #NEWLINE# field_name = ( 'num_%s' % agg . replace ( '__' , '_' ) ) #NEWLINE# #UNINDENT# return field_name