diff --git a/jastadd-mquat-eris/src/main/java/de/tudresden/inf/st/mquat/eris/coupling/ERISConnector.java b/jastadd-mquat-eris/src/main/java/de/tudresden/inf/st/mquat/eris/coupling/ERISConnector.java
index 4dcc9c2da97724e56bd2b88e5cf38d4a45cd4b8e..d021fe1fe070d432c02794ae3aa7354cfda3750e 100644
--- a/jastadd-mquat-eris/src/main/java/de/tudresden/inf/st/mquat/eris/coupling/ERISConnector.java
+++ b/jastadd-mquat-eris/src/main/java/de/tudresden/inf/st/mquat/eris/coupling/ERISConnector.java
@@ -296,14 +296,24 @@ public class ERISConnector {
 
             // first prerequisite: there has to be a proposed index
             if (currentIndexConfigs.containsKey(attribute)) {
+              ERISAttributeStatistics as = livingPartition.getAttributeStatistics(attribute);
+              logger.debug("          attribute {} stats: lookups: {} inserts: {} scans: {} links: {} count: {}",
+                  attribute.getName(),
+                  as.getLookups(),
+                  as.getInserts(),
+                  as.getScans(),
+                  as.getLinks(),
+                  as.getCount());
+
               // get the proposed index
               ERISLPConfiguration newIndexConfig = currentIndexConfigs.get(attribute);
 
               // compute the missing component of the score for the index config
 
               // get the lookup time
+              int count = livingPartition.getAttributeStatistics(attribute).getCount();
               int lookupCount = livingPartition.getAttributeStatistics(attribute).getLookups();
-              double lookupTime = newDOrOConfig.getAccessPath().getLookupTime(lookupCount);
+              double lookupTime = newDOrOConfig.getAccessPath().getLookupTime(count);
               double indexScore = newIndexConfig.getEstimatedCost().orElse(Double.MAX_VALUE);
               double lookupScoreWithoutIndex = lookupTime * lookupCount;