message: Require matrix_id and remote_id to be not null
diff: @@ -104,7 +104,7 @@ export class DbRoomStore {
  * @returns {number} The amount of room pairs as an integer
  */
  public async countEntries() {
  - const row = (await this.db.Get("SELECT COUNT(*) FROM room_entries")) || {};
  + const row = (await this.db.Get("SELECT COUNT(*) FROM room_entries WHERE matrix_id IS NOT NULL AND remote_id IS NOT NULL")) || {};
  if (typeof row.count !== "number") {
  log.error("Failed to count room entries");
  