Added logic for playerStatistics() function as a group