Function count

Source
fn count(input: &str, rows: u32) -> u32