Red shift allows us to roughly calculate distance and time, so we can multiple time by frequency of light to calculate number of oscillations or cycles and then calculate loss of energy per oscillation at average.