Modified output format to count easily the number of records.