LinkedHashMap<String, Integer> catalogToSizeOfMap = new LinkedHashMap<String, Integer>();
for (String catalogId : catalogIds) {
Catalog catalog = this.getCatalog(catalogId);
QueryExpression qe = this.reduceToUnderstoodExpressions(catalog, queryExpression);
if (qe != null) {
int catalogResultSize = catalog.sizeOf(qe);
totalResults += catalogResultSize;
catalogToSizeOfMap.put(catalogId, catalogResultSize);
}
}