Update stats.py

Cleanup, Better constant names