Fix statistics count