lists and counts files in a directory and sub directories