```python
def head_of(entries: list, count: int) -> list:
    """The first few entries of a list."""
    if count is None or count <= 0:
        return []
    return entries[:count]
```