Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions
Share functions
Tab functions
Dash functions

get_collections_resource_count

Get collection total resource count for a list of collections. 
Variable Description Data type
$refs
Comma separated list of collection IDs  string

Return values

Array of collections and their total resource count, taking into account access controls. Please note that the returned array might not contain keys for all the input IDs (e.g validation failed).