Adding dynamic counts in headings in the PROC REPORT output

SAS' Kathryn McLawhorn reveals an elegant option to introduce dynamic header data using DATA step logic and the FORMAT procedure.