The idea was not to detect how many databases are there on the internet, but rather unauthenticated/vulnerable ones. It is possible that the databases exist on US west coast, but aren't vulnerable. The maps were generated using ipinfo.io (linked in the article).