Collections tool shows the correct count.

.
The difference of 52 is due to books with expired licenses

As you can see, they now have a Permanent license. And delete unlicensed resources had no effect. I lost the first log where I counted 70 "deleted unlicensed", but after a restart I got this log:
2656.Logos.log
It has no "deleted..." lines!
EDIT: I found they were deleted from the Resources folder, so it looks like there is an "experiment" going on (I've deleted the records in catalog.db, but kept the original database).