Postgres Select Count From Sqlite3