Another interesting option for slow count queries in sqlite.
If you havenβt DELETEd any records, doing:
SELECT MAX(ROWID) FROM "table" LIMIT 1;
Note
This post is a thought. Itβs a short note that I make about someone elseβs content online #thoughts