@staticmethod
def get_products_size(products):
    """Return the total file size in GB of all products in the OpenSearch response."""
    size_total = 0
    for title, props in products.items():
        size_product = props['size']
        size_value = float(size_product.split(' ')[0])
        size_unit = str(size_product.split(' ')[1])
        if size_unit == 'MB':
            size_value /= 1024.0
        if size_unit == 'KB':
            size_value /= 1024.0 * 1024.0
        size_total += size_value
    return round(size_total, 2)
