How can I recursively count files in a Linux directory?

How can I recursively count files in a Linux directory? I found this: find DIR_NAME -type f | wc -l or see example below: ” Found 187550 files in the directory /var/* Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip…