Remove initial "select count()" in cache code. It's way too expensive on
large tables.