Here's a command to check how many of each file type (extension) exists in your present directory and subdirectories:

find . -type f | sed -n 's/.*\.//p' | sort | uniq -c | sort -nr

Example output, run on my movie posters directory:

   1713 jpg
      6 png
      1 jpeg
      1 gif

In case you want to exclude subdirectories, use the -maxdepth option:

find . -type f -maxdepth 1 | sed -n 's/.*\.//p' | sort | uniq -c | sort -nr