Tom Scott made this cool YouTube video and video title was: "This video has XXX views.", so i made this explanation how to atchieve it and wrote a sample code that you can reuse.
Tom Scott original video - https://www.youtube.com/watch?v=BxV14h0kFs0
nang explanation using python - https://www.youtube.com/watch?v=X4xtZv5nFIk