Need help to achieve a leaderboard

Hello, I am on two projects and I need help to change the leaderboard :

available in core. it is made to count the number of dead, DMR or damage. I would need it to be modified for this type of game:

Creat -> new project -> racing by manticoregame

The racing game already has stats but I can’t adapt it by following the tutorial ( readme provided )

I would like him to count the players who have the most win ( on a board ) and 1 board per race for the player who has the best time ( 4 races ) so 5 board in all.

no leader on board seems to match in those proposing in the community I feel lost

PS : I also take the opportunity to ask if one person ( serious ) or several are interested to jointly develop games ( I am too bad in lua (script ) )

thx