Update stats.py

cleanup