```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 and count must be positive")
    return (count * 100) // total
```