I would use the onformat for the total section, and change the visibility setting on whatever. You should be able to use a count, to determine the number of records, or just setup a counting field in the query. The onformat would look something like
if Count = 1 then
TotalBooks.visible =...