[Koha-bugs] [Bug 30017] Should we prefer iterator.first over calling variable.count to reduce our DB hits