fmt_header_n function

Format count data for headers