logging is improved via showing how many lines will be written to nodes.csv
If no shadow exist for a partition then shadow_partition_gids_h[partition].uniq was getting NPE