How can I make a real-time player/like counter?

I saw games with “numbers of users on roblox” and “realtime like counter,” and I got curious how they made them. However I couldn’t find any articles regarding this topic. It would be great if someone could tell me how I can create one myself. Thanks!

For reference:
image
(sked's vr playground!!!!!! - Roblox)
image
(Cart Ride Into Rdite! - Roblox)

This post might help you

Thanks, helped a lot! One question, is it possible to get the number of users using the same method?

I actually do not know, however I am pretty sure the same method would work, with a few changes.