Added `--min_uid` parameter.
Added `count` command.
Some error checking.