Calculating total summary in hours