```python
def cell_count(grid: list, value: int) -> int:
    """
    Return the number of cells in the grid that hold the specified value.

    :param grid: A list of rows, where each row is a list of cells.
    :param value: The value to count in the grid.
    :return: The number of cells holding the specified value.
    """
    if not grid:
        return 0

    count = 0
    for row in grid:
        for cell in row:
            if cell == value:
                count += 1

    return count
```