Added summary_get_selection_count() function.