To see the number of items in the selected library or collection, click an item in the middle column and use the
Select All shortcut (Command-A on Mac
OS X or Control-A on Windows and Linux). A count will appear in the right column (attachments are included in the count when visible, i.e. when the parent item is expanded).