output nrd counts for tsv and json