Add missing import

(calculate_stats is still used in store.getquickstats)