Update Stats.php

Updated stats. I am not sure if the code is perfect yet but I will try to come back to fix it.