# count the number of files (-type f will ignore directories) by finding them, then piping them to wc (word count) using -l (lines only) find DIR_NAME -type f | wc -l
# count the number of files (-type f will ignore directories) by finding them, then piping them to wc (word count) using -l (lines only) find DIR_NAME -type f | wc -l