AssetCount
Returns the number of assets associated with the active blog.
Attributes:
- type
-
Allows for filtering by file type. Built-in types supported are "image", "audio", "video". These types can be extended by plugins.
Example:
Images available: <$mt:AssetCount type="image"$>

Arvind Satyanarayan
July 24, 2008 3:46 PM | Reply
If you have an image asset with thumbnails, this tag returns a count that includes both of them. If you want to only count images, a good want to do that is to use the MTAssets and MTSetVar tag like so (it loops through MTAssets - which only returns images, and not thumbnails - and increments the $asset_count variable which you can then use):