#NEWLINE# @ property #NEWLINE# def ballots_cast( self ) : #NEWLINE# #INDENT# h2_chars = within_bbox ( txt . chars , self . bboxes [ 'h2' ] ) #NEWLINE# txt = h2_chars . groupby ( 'top' ) . apply ( _collate_chars ) . iloc [ 0 ] #NEWLINE# return int ( re . match ( '(\\d+) BALLOTS CAST' , txt ) . group ( 1 ) )