def analyze_data(data_points:list) -> dict:
    """
    Extracting the amount of data points for one type of data and extracts
    the minimum and the maximum for each type of data
    :param data_points: All the data points
    :return: The analysis
    """
    stats = {}
    for dp in data_points:
        if dp[0] not in stats:
            stats[dp[0]] = [1, dp[1], dp[1]]
        else:
            stats[dp[0]][0] += 1
            stats[dp[0]][1] = min(stats[dp[0]][1], dp[1])
            stats[dp[0]][2] = max(stats[dp[0]][2], dp[1])
    return stats