Calculating CompountMetrics