diff --git a/anki/stats.py b/anki/stats.py
index df6c08107..505b6414f 100644
--- a/anki/stats.py
+++ b/anki/stats.py
@@ -352,7 +352,7 @@ class DeckStats(object):
html += _("First-seen cards: %(gNewYes%)0.1f%% "
"(%(gNewYes)d of %(gNewTotal)d)
") % stats
# average pending time
- existing = d.cardCount - d.newTodayCount
+ existing = d.cardCount - d.newCountToday
avgInt = self.getAverageInterval()
def tr(a, b):
return "