code: static int countCityCoordinatesForCountry(final int codex, final int territoryRecord, final int firstTerritoryRecord) {
          assert codex >= 0;
          assert territoryRecord >= 0;
          assert firstTerritoryRecord >= 0;
          final int firstRecord = getFirstNamelessRecord(codex, territoryRecord, firstTerritoryRecord);
          int record = territoryRecord;
          while (Data.getCodex(record) == codex) {
              record++;
          }
          assert firstRecord <= record;
          return record - firstRecord;
      }
docs: TODO: Need to explain what a codex is.