def get_metric_value(metric, data):
    """Get Metric value recursively for metric key from data"""

    if len(metric) > 1:
        return get_metric_value(metric[1:], data[metric[0]])

    return data[metric[0]]