Script to show total bitmap memory usage in scene

Does this kind of thing exist in Max 2009?

I want to know exactly how much memory is being used by the textures in my scene.