Migrate parse/stats.py from soccerdata.