Smart Text - Dynamic Count

Is there anyway to do a dynamic count with smart text? This would be useful for design projects.

Perhaps smart text with the ability to recall objects on a layer. Advanced options would allow the user to filter based on type block, text, circle, linestring, name.