Steam Dedicated Server Current Players

We are trying to get our dedicated server working with the OnlineSubsystemSteam (shootergame-based game) and we can’t seem to figure out how to publish and consume the number of current players. Can anyone give a example of how to get the current number of players from a dedicated server or how to set that in Steam so it shows up on a server browser?

Thank you!