Every now and then I need to do this... so this is here for reference...
find . -type f | wc -l
linux - Recursively count all the files in a directory