Not going to get into formatting since you can probably figure that part out. You would use something like this and put it in a collection wherever you build billCollection you can add this to it, then you can reference that collection in your html.
ClearCollect(colbillCount,ShowColumns(
AddColumns(
GroupBy(billcollection, "NumeralDenomination", "ByDenomination"),
"DenominationCount",
CountRows(ByDenomination)
),
"NumeralDenomination",
"DenominationCount"
))
"<html table and header etc.> <tbody> " & ForAll(colBillCount, colBillCount.NumberalDenomination & "<tr><td>" & colBillCount.DenominationCount & "<tr><td>" )
Hopefully this helps.