pub fn state_count(counts: &HashMap<String, i64>, state: &str) -> i64
Extract a count for a given state from a state-counts map.