Calculation For Total Revenue