See How the List Rows Are Narrowed Down to the Selected Items
When "Library Match Scope" is "Selected Objects", the list narrows down its rows to match the selected items. Create an entry, assign it to the left Suzanne, and then see how the list changes when you select a different Suzanne.
Starting scene demonstrated on Three Suzannes and the list in the Sidebar
Steps
Select the left Suzanne, set "New Entry Type" in "ID / Channel Library" to "Object ID", and click "Add".
Click "Apply to Selection".
Select the middle Suzanne.
Click "Selection Changed: Refresh", which has appeared below the list.
To see the colors, set "Color" in "Viewport Shading" of the 3D Viewport to "Object".
Follow the changes on screen
AddAfter selecting the left Suzanne and clicking "Add". The entry is not used anywhere yet, so it appears in the list with a count of 0/0.ApplyAfter "Apply to Selection". The count is now 1/1, and the Suzanne has taken on the entry's display color.ReselectRight after selecting the middle Suzanne. The selection count becomes "-", and "Selection Changed: Refresh" appears below the list.Refresh CountsAfter clicking "Selection Changed: Refresh". Rows for the IDs and channels that the middle Suzanne has were added. The left Suzanne's entry stays blue because it is the selected row, and its count is 0/1. If you click "Apply to Selection" now, this entry is assigned to the middle Suzanne.