From the command line (terminal in OS X), go to the directory and execute this line:

ls -1 | wc -l

ls -1 will list files 1 per line and piping into wc -l will count the number of lines output.