Bug Description

When inspecting a MARC import queue, if the queue has a large number of records, the process of calculating the summary counts (particularly the total number of records and the number of imported records) can cause the cstore backend to bloat.

This is because open-ils.vandelay.bib_queue.summary.retrieve uses makes a couple calls (e.g., open-ils.cstore.direct.vandelay.queued_bib_record.id_list.atomic) to retrieve the list of IDs of records in the queue, then counts then, then tosses the idlist away. When doing this on a queue containing over 100,000 records, this is pretty wasteful:

- it's slow
- it sends a lot of data through XMPP that mostly gets discarded
- it bloats the cstore backends that process the idlist requests