Query your databases without relationships.
How to get a row count using rowid instead of costly COUNT(*)