Skip to main content

count

Function count 

Source
pub fn count(text: &str) -> Result<usize, Error>
Expand description

Counts tokens in the entire input using the same rules and errors as encode.