pub fn token_count(value: &Value) -> Option<u64>
Return a nonnegative JSON integer token count, rejecting booleans and floats.