awk '{for(i=1;i<=NF;i++) { list[$i]+=1 } } END{for (i in list) { print i,list[i] }}' nowcoder.txt |sort -k 2