The script can be found here

This is the first script I have ever contributed on the HomeSeer website.

I am open to any suggestions for improvement. I'd love to add more population counts for other countries/states/territories if a source could be found that actually updates the estimates on short intervals. If it got to the point where there were at least four regularly updating counts, I would make the script configurable via a webpage.

Current version is 2.0.0. (I considered the original script I based this upon as version 1.0)