calculate and display totals for each meal table using plugin sumtr