Approach towards public voting

Greetings,
What do I do to create an in-server leaderstats voting?

What I mean is, for eg. there are 3 players, A B and C
All 3 create some objects on which they vote on with a number gui from 1-10

What do I do so that the sum of the vote number adds up in the leaderboard of that person?