```python
def live_count(neighbours: list) -> int:
    """Return how many of a cell's given neighbours are alive."""
