pub fn count_frozen_core_states(n_frozen_shell: i32, elem: &Vec<String>) -> usize