Write a shell script to find the number of files in a directory.