```python
def unit_price(total: int, count: int) -> int:
    """The price of one unit, in whole pence."""
    if count == 0 or total < 0:
        raise ValueError("count cannot be zero or total must be non-negative")
    return (total // count) * 100
```