pub fn consumption_count(spec: &In, available: usize) -> usize
Returns the actual number of tokens to consume given the available count.
Panics if available is less than the required count.
available