def total_rain(rain_hours: list) -> int:
    """
    Sum up the rain mm from list of rain hours
    """
    if len(rain_hours) > 0:
        return round(sum([list(x.values())[0]['1h'] for x in rain_hours]), 2)
    else:
        return 0