Updated overload-stats.ts to fix overcounting bug