Re: Finding the number of occurences in an array



How about:

scalar grep /\.txt/, <things/*>;

.