rake task for team stats