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