use ls and wc to count files in a directory