Added WordAndCount printer for printing word and counter.