If the directories do not matter, type in Terminal.app
(first "cd" to the directory containing the pictures)
find . -type f -print|wc -l
If not all files are pictures, try something like
find . -type f -name '*.jpg' -print|wc -l
If your pictures are RAW format, use .cr2 or whatever your...