Re-order parameters for assert_next_element_count for consistency with other functions