Calculates weekly total