Function count

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