def get_most_common_font_pts(mentions, font_stat):
log = logging.getLogger(__name__)<EOL>try:<EOL><INDENT>most_common_font_size = font_stat.most_common(<NUM_LIT:1>)[<NUM_LIT:0>][<NUM_LIT:0>]<EOL>count = <NUM_LIT>  <EOL>height_sum = <NUM_LIT>  <EOL>for m in mentions:<EOL><INDENT>if m.font_size == most_common_font_size:<EOL><INDENT>height_sum += m.height<EOL>count += <NUM_LIT:1><EOL><DEDENT><DEDENT>return height_sum / count<EOL><DEDENT>except IndexError:<EOL><INDENT>log.info("<STR_LIT>")<EOL>return <NUM_LIT><EOL><DEDENT>
font_stat: Counter object of font sizes