When viewing the summary tab of an iPhone device in iTunes, clicking on the candy color capacity chart will cycle the Audio, Video, and Photos measurements through space used on the device, number of items, and (for music and video) total playing time.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20070703114419438