You can do this by using File::Find Module.
In reply to Re: Recursive count by velusamy in thread Recursive count by sandy1028