report_from_attr function

Report frequencies from attributes in report var