Just ran the script for the first time and it has the headers wrong for the stats, where it has movies it displays tv and where it has tv it shows movies.
Thanks for letting me know. It looks like some of the database tables changed in the last couple versions of tautulli. i will need to look into a different way to parse and pull the correct stat.