A new version (0.5.6) of the Shortcode WordPress plugin has been released, allowing you to get the total number of images attached in all posts & pages with the code photosingallery
.
As always, look at the text file located at www.maxpagels.com/shortcodes.txt for all available shortcodes.