Just perform this command under the directory:
find . -type f | wc -l
and you will get the total number of files under it (recursively). Simply copy and paste that to do the trick.
Or if you just need to count the files directly under the current directory:
ls -f | wc -l
Which is a lot faster than the previous solution.
This should also work on all *nix OS.