How about
cat file*.txt |
xargs -n1 |
awk '{h[$1]++}END{for(i in h){print h[i],i|"sort -rn|head -20"}}'
Which prints
3 a
2 mary
2 little
2 lamb.
2 had
1 you
1 white
1 went.
1 was
1 that
1 snow.
1 Mary
1 How
1 His
1 Hello
1 fleece
1 everywhere
1 as
1 are
1 And
It's adapted from a script explained on this website which goes on to make a graph of it:
cat file*.txt | xargs -n1 | awk '{h[$1]++}END{for(i in h){print h[i],i|"sort -rn|head -20"}}' |awk '!max{max=$1;}{r="";i=s=60*$1/max;while(i-->0)r=r"#";printf "%15s %5d %s %s",$2,$1,r,"\n";}'
Printing
a 3 ############################################################
mary 2 ########################################
little 2 ########################################
lamb. 2 ########################################
had 2 ########################################
you 1 ####################
white 1 ####################
went. 1 ####################
was 1 ####################
that 1 ####################
snow. 1 ####################
Mary 1 ####################
How 1 ####################
His 1 ####################
Hello 1 ####################
fleece 1 ####################
everywhere 1 ####################
as 1 ####################
are 1 ####################
And 1 ####################