Extension method to count all files in a folder.