Adding global stats for all segments

New "TOTAL" line at bottom of output table