```python
def cell_count(grid: list[list]) -> int:
    return sum(row.count(value) for```