pub fn count_present(slots: &[Option<Shard>]) -> usize
Count how many shards are present (non-None) in a slot array.