```python
def cell_count(grid: list, value: int) -> int:
    return sum(1 for row in grid for cell in row if cell == value)
```