Simple script done.

Handles the two cases that I wanted:

* lists of keys
* counts of distinct values per key

Made it a bit more DRY, docs are mainly via asking user for input.