fn window_counts(record: Option<&str>) -> (usize, usize)
The windows a record holds, open and closed.