in reply to Counting within numerous files?

You might be interested in the thread tr/// statement where some nice solutions to a very similar problem have been posted

Regards... Stefan