def count_points(grid: list[list[int]], minimum: int = 2) -> int:
    """Count the number of points in a 2x2 grid that are higher than "minimum"."""
    count = 0
    for row in grid:
        for number in row:
            if number >= minimum:
                count += 1
    return count